Issue Type: Bug Bug
Assignee: Daniel Spilker
Components: gradle-jpi-plugin
Created: 17/Mar/15 2:13 AM
Description:

I have a plugin where I have Jelly string resources in a description.properties file, e.g. similar to https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/model/Cause/UserIdCause/description.properties

However, this cannot be compiled, as the generated Localizable class is created (in this case as description.java) with a package name that clashes with the source class name.

:compileJava
/home/.../foo-plugin/src/main/java/org/jenkinsci/plugins/foo/FooBarCause.java:8: error: class FooBarCause clashes with package of same name
public class FooBarCause extends Cause {
       ^
/home/.../foo-plugin/build/generated-src/localizer/org/jenkinsci/plugins/foo/FooBarCause/description.java:3: error: package org.jenkinsci.plugins.foo.FooBarCause clashes with class of 
same name
package org.jenkinsci.plugins.foo.FooBarCause;
^
2 errors
:compileJava FAILED


Environment: Plugin 0.10.0
Project: Jenkins
Priority: Minor Minor
Reporter: Christopher Orr
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to