Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.4-M1
-
Fix Version/s: 2.3-M2
-
Component/s: Build System
-
Labels:None
Description
After upgrading from 1.3.7 to 1.4 my applications that now share a common plugin constantly fail to build when using an inplace plugin.
The resulting error is that the plugin is not found when it clearly is in the defined path for the inplace plugin
grails.plugin.location.'myplugin'="../common/plugins/myplugin"
-
Hide
- inline-plugin-2.0.M1.zip
- 03/Sep/11 9:44 AM
- 123 kB
- Angelo Alfano
-
- test-app/.classpath 0.7 kB
- test-app/.project 0.5 kB
- test-app/.../org.codehaus.groovy.eclipse.preferences.prefs 0.1 kB
- test-app/application.properties 0.1 kB
- test-app/grails-app/.../BootStrap.groovy 0.1 kB
- test-app/grails-app/.../BuildConfig.groovy 2 kB
- test-app/grails-app/conf/Config.groovy 4 kB
- test-app/grails-app/.../DataSource.groovy 0.7 kB
- test-app/grails-app/.../resources.groovy 0.0 kB
- test-app/grails-app/.../UrlMappings.groovy 0.2 kB
- test-app/grails-app/.../messages.properties 3 kB
- test-app/.../messages_cs_CZ.properties 3 kB
- test-app/.../messages_da.properties 3 kB
- test-app/.../messages_de.properties 4 kB
- test-app/.../messages_es.properties 3 kB
- test-app/.../messages_fr.properties 2 kB
- test-app/.../messages_it.properties 2 kB
- test-app/.../messages_ja.properties 2 kB
- test-app/.../messages_nl.properties 3 kB
- test-app/.../messages_pt_BR.properties 3 kB
- test-app/.../messages_pt_PT.properties 3 kB
- test-app/.../messages_ru.properties 4 kB
- test-app/.../messages_sv.properties 3 kB
- test-app/.../messages_th.properties 5 kB
- test-app/.../messages_zh_CN.properties 2 kB
- test-app/grails-app/views/error.gsp 0.3 kB
- test-app/grails-app/views/index.gsp 3 kB
- test-app/grails-app/.../layouts/main.gsp 2 kB
- test-app/web-app/css/errors.css 2 kB
- test-app/web-app/css/main.css 11 kB
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Could you attach an example that reproduces the issue? we have some functional tests that verify inline plugins work so it must be something specific
I have the same issue with 2.0.M1 (OSX 10.7.1) even with brand new 2.0 app and plugin, I attach an example
I'm not sure I understand the issue. You are defining the plugin twice. Once in the plugins section and once as an inline plugin. If you remove the former declaration:
// compile ":test-plg:0.1"
Then everything works as expected
Stephane - as I said I don't regard this as a bug since if the plugin is inline you shouldn't define it in your plugins { } block
In addition to the inline plugin there was also dependency on this defined in the plugins, this wasn't a problem in 1.3.7 but is now in 1.4.0.
I suppose this issue can be closed bit it means either removing or commenting out the dependency in the plugin section.