grails-forge's People
grails-forge's Issues
http://start.grails.org/appData/ page gives internal error http 500 code
We also started getting reports about IntelliJ IDEA project wizard not working for Application Forge:
See also a Grails community slack thread.
Caused by: java.lang.NoClassDefFoundError: org/gradle/tooling/BuildCancelledException
Caused by: java.lang.NoClassDefFoundError: org/gradle/tooling/BuildCancelledException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
at java.lang.Class.getDeclaredConstructors(Class.java:2020)
at org.codehaus.groovy.reflection.CachedClass$2.lambda$initValue$4(CachedClass.java:71)
at java.security.AccessController.doPrivileged(Native Method)
at org.codehaus.groovy.reflection.CachedClass$2.initValue(CachedClass.java:76)
at org.codehaus.groovy.reflection.CachedClass$2.initValue(CachedClass.java:66)
at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:50)
at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:37)
at org.codehaus.groovy.reflection.CachedClass.getConstructors(CachedClass.java:259)
at groovy.lang.MetaClassImpl.<init>(MetaClassImpl.java:223)
at groovy.lang.MetaClassImpl.<init>(MetaClassImpl.java:233)
at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createNormalMetaClass(MetaClassRegistry.java:166)
at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createWithCustomLookup(MetaClassRegistry.java:156)
at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.create(MetaClassRegistry.java:139)
at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:272)
at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:315)
at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:258)
at org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:1059)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.newInstance(DefaultGroovyMethods.java:17679)
at org.grails.cli.profile.AbstractProfile.initialize(AbstractProfile.groovy:135)
at org.grails.cli.profile.repository.AbstractJarProfileRepository$JarProfile.<init>(AbstractJarProfileRepository.groovy:120)
at org.grails.cli.profile.repository.AbstractJarProfileRepository.registerProfile(AbstractJarProfileRepository.groovy:99)
at org.grails.cli.profile.repository.MavenProfileRepository.processUrls(MavenProfileRepository.groovy:118)
at org.grails.cli.profile.repository.MavenProfileRepository.getAllProfiles(MavenProfileRepository.groovy:153)
at sun.reflect.GeneratedMethodAccessor228.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
at org.codehaus.groovy.runtime.metaclass.MethodMetaProperty$GetBeanMethodMetaProperty.getProperty(MethodMetaProperty.java:76)
at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.callGetProperty(GetEffectivePogoPropertySite.java:48)
at profiles.run(profiles.groovy:9)
at profiles$run.call(Unknown Source)
at appgenerator.ScriptExecutor.executeScript(ScriptExecutor.groovy:47)
at appgenerator.ScriptExecutor.executeScript(ScriptExecutor.groovy)
at appgenerator.ProfileService.getProfiles(ProfileService.groovy:98)
at appgenerator.$ProfileService$Definition$Intercepted.$$access$$getProfiles(Unknown Source)
at appgenerator.$ProfileService$Definition$Exec.dispatch(Unknown Source)
at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invoke(AbstractExecutableMethodsDefinition.java:338)
at io.micronaut.aop.chain.MethodInterceptorChain.proceed(MethodInterceptorChain.java:128)
at io.micronaut.cache.interceptor.CacheInterceptor.doContextProceed(CacheInterceptor.java:722)
at io.micronaut.cache.interceptor.CacheInterceptor.doProceed(CacheInterceptor.java:726)
at io.micronaut.cache.interceptor.CacheInterceptor.interceptSync(CacheInterceptor.java:416)
at io.micronaut.cache.interceptor.CacheInterceptor.intercept(CacheInterceptor.java:156)
at io.micronaut.aop.chain.MethodInterceptorChain.proceed(MethodInterceptorChain.java:137)
at appgenerator.$ProfileService$Definition$Intercepted.getProfiles(Unknown Source)
at appgenerator.ProjectOptionsService.profileListByProjectType(ProjectOptionsService.groovy:40)
at appgenerator.ProjectOptionsService.defaultProjectOptions(ProjectOptionsService.groovy:53)
at appgenerator.IndexController.index(IndexController.groovy:20)
at org.grails.core.DefaultGrailsControllerClass$MethodHandleInvoker.invoke(DefaultGrailsControllerClass.java:223)
at org.grails.core.DefaultGrailsControllerClass.invoke(DefaultGrailsControllerClass.java:188)
at org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter.handle(UrlMappingsInfoHandlerAdapter.groovy:90)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1067)
... 47 common frames omitted
Problem With Artifactory Link
The site footer currently has an anchor tag with the body Grails' repositories are hosted by Artifactory
and the href
points to http://artifactoryonline.com/ which is returning 403.
When creating a new app with start.grails.org empty folders are not created
I just created a new app with start.grails.org form.
Empty folders such as
grails-app/domain
grails-app/services
src/test
src/integration-test
are not created
Gradle Version of Grails 5.0.0 was not upgraded
I configured a new Grails 5.0.0 web app project on https://start.grails.org/ and downloaded the provided zip file.
However, the auto-generated gradle-wrapper.properties file points to an old version of Gradle: distributionUrl=https://services.gradle.org/distributions/gradle-5.6.4-bin.zip
As specified i.e. in the Spring Boot Gradle Guide Grails 5 requires >Gradle 6.8 and therefore grails won't build.
For now, grails create-app with Grails 5 seems to work for me.
Tapping Generate Project does nothing
Add Metrics
We should add some tracking to the application so we know not only what the site traffic volume looks like but also what kinds of apps people are creating (which profile, which features, etc...).
start.grails.org is throwing an error when attempting to create a project
~ $ curl -O start.grails.org/myapp.zip -d version=3.3.9
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 60 100 47 100 13 225 62 --:--:-- --:--:-- --:--:-- 224
~ $
~ $ cat myapp.zip
{"message":"Internal server error","error":500}
~ $
Similar happens when using the browser interface.
Verify grails forge will generate Grails 4 apps
I tried to run this for generating a grails 4 app and I ran into a few useful issues I think:
-
The list of versions to choose from does not include 4.0.0-BUILD-SNAPSHOT because there is logic in
GrailsVersionService.getSupported
that filters out versions.
The list of versions is retrieved from the maven repo. It is then run through thegetSupported
method. The 4.0.0 build snapshot is not added to the list of versions because has not been released before and there is no milestone or RC. Basically a snapshot is only available to the grails forge if it has a stable version before it or if there is a milestone or release candidate available. -
In order to try a force the app to include the version
4.0.0-BUILDSNAPSHOT
I went into the method locally and just added this lineversions.add(latestSnapshot)
at this location. From both the UI and curl, i was able to attempt generation of a grails app with 4.0.0-BUILD-SNAPSHOT. However, we get an error onProjectGeneratorService:63
. This occurs on execution of the script, which accesses the MavenProfileRepository. This error also affects the UI screen where the user can "Pick your features"
Thoughts
I think we should come around and test this again when we publish everything to do with the 4.0.0-BUILD-SNAPSHOT
version into maven, because the app depends on a lot of it. Both 1) and 2) above are failing because the maven repo is incomplete for this latest version. I don't think the logic should be changed in GrailsVersionService.getSupported
because it seems reasonable that we want only stable versions, milestones, and RCs to be run through the grails forge. So I recommend we wait for that point and then test it again locally to see if it generates properly. (Note, we can upgrade the grails-forge to grails 4.0.0 also but I believe that is an independent issue)
Add Support For Creating A Plugin
The build status page (https://grails.org/buildstatus.html) is outdated
We are slowly moving the CI stuff to GitHub Action instead of Travis. Currently this page include all Travis references which seems to be outdated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.