|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (MEVENIDE-670) Mevenide does not recognize custome generated-soruces directoriesMevenide does not recognize custome generated-soruces directories
----------------------------------------------------------------- Key: MEVENIDE-670 URL: http://jira.codehaus.org/browse/MEVENIDE-670 Project: mevenide Issue Type: Bug Components: mevenide2-netbeans Affects Versions: NB_3.1 Environment: Windows XP SP3 Reporter: Dariusz Kordonski Assignee: Milos Kleint In my project pom.xml I have Antrun plugin defined, which runs Axis WSDL2Java tool and stores generated sources in a directory target/generated-sources/main/java. Using <sourceRoot> element I am able to add this directory to the compiler path before excuting 'compile' phase. Mevenide2 somehow recognizes that and adds 'Generated sources' directory to the project view. The problem is, that it treats 'main' directory within it as the base src location and therefore it adds 'java' prefix to the package name of all the generated classes, which obviously results in errors in NB (package of each generated class does not match). I do not expect mevenide2 to take every single Maven plugin configuration into account when generating source path for project, but there should be at least possibility to e.g. add/correct manually the missing / incorrect src locations (independently from what is provided in pom). Otherwise it is impossible to work in NB / mevenide in suche cases as this. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Updated: (MEVENIDE-670) Mevenide does not recognize custome generated-soruces directories[ http://jira.codehaus.org/browse/MEVENIDE-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Milos Kleint updated MEVENIDE-670: ---------------------------------- Fix Version/s: NB_FUTURE in general all source generating plugins in maven generate sources into target/generated-sources/XXX where xxx is the folder name related to the tool. There's so far no way in maven to figure what are the additional source roots without actually running the build. That's unacceptable on project loading in the IDE for performance reasons . The current algorithm is that it iterates the subfolders of target/generated-sources/ and assumes these are source roots. Additionaly (since netbeans 6.5 maven support) we also check the configuration of the build-helper-maven-plugin. In general I would lie to avoid a situation where I need to guess the entire world and check for configuration of tens of plugins. antrun-plugin could be an exception, but not for 6.5. Alternatively maven sould support a way to figure source root without building the project. There will never be any UI to configure the source roots. The POM is the ultimate and only project information source. An obvious solution/workaround is to generate sources to the right directory or use the build-helper plugin to designate the folder you want. > Mevenide does not recognize custome generated-soruces directories > ----------------------------------------------------------------- > > Key: MEVENIDE-670 > URL: http://jira.codehaus.org/browse/MEVENIDE-670 > Project: mevenide > Issue Type: Bug > Components: mevenide2-netbeans > Affects Versions: NB_3.1 > Environment: Windows XP SP3 > Reporter: Dariusz Kordonski > Assignee: Milos Kleint > Fix For: NB_FUTURE > > > In my project pom.xml I have Antrun plugin defined, which runs Axis WSDL2Java tool and stores generated sources in a directory target/generated-sources/main/java. Using <sourceRoot> element I am able to add this directory to the compiler path before excuting 'compile' phase. Mevenide2 somehow recognizes that and adds 'Generated sources' directory to the project view. The problem is, that it treats 'main' directory within it as the base src location and therefore it adds 'java' prefix to the package name of all the generated classes, which obviously results in errors in NB (package of each generated class does not match). I do not expect mevenide2 to take every single Maven plugin configuration into account when generating source path for project, but there should be at least possibility to e.g. add/correct manually the missing / incorrect src locations (independently from what is provided in pom). Otherwise it is impossible to work in NB / mevenide in suche cases as this. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MEVENIDE-670) Mevenide does not recognize custome generated-soruces directories[ http://jira.codehaus.org/browse/MEVENIDE-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156550#action_156550 ] Jaromir Uhrik commented on MEVENIDE-670: ---------------------------------------- This bug was transferred to the NetBeans Issuezilla bug tracking system as http://www.netbeans.org/issues/show_bug.cgi?id=154497 > Mevenide does not recognize custome generated-soruces directories > ----------------------------------------------------------------- > > Key: MEVENIDE-670 > URL: http://jira.codehaus.org/browse/MEVENIDE-670 > Project: mevenide > Issue Type: Bug > Components: mevenide2-netbeans > Affects Versions: NB_3.1 > Environment: Windows XP SP3 > Reporter: Dariusz Kordonski > Assignee: Milos Kleint > Fix For: NB_FUTURE > > > In my project pom.xml I have Antrun plugin defined, which runs Axis WSDL2Java tool and stores generated sources in a directory target/generated-sources/main/java. Using <sourceRoot> element I am able to add this directory to the compiler path before excuting 'compile' phase. Mevenide2 somehow recognizes that and adds 'Generated sources' directory to the project view. The problem is, that it treats 'main' directory within it as the base src location and therefore it adds 'java' prefix to the package name of all the generated classes, which obviously results in errors in NB (package of each generated class does not match). I do not expect mevenide2 to take every single Maven plugin configuration into account when generating source path for project, but there should be at least possibility to e.g. add/correct manually the missing / incorrect src locations (independently from what is provided in pom). Otherwise it is impossible to work in NB / mevenide in suche cases as this. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Closed: (MEVENIDE-670) Mevenide does not recognize custome generated-soruces directories[ http://jira.codehaus.org/browse/MEVENIDE-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Milos Kleint closed MEVENIDE-670. --------------------------------- Resolution: Duplicate closing the issue as duplicate of the newly created one in netbeans.org issuezilla. Please post your additional comments to the new issue. > Mevenide does not recognize custome generated-soruces directories > ----------------------------------------------------------------- > > Key: MEVENIDE-670 > URL: http://jira.codehaus.org/browse/MEVENIDE-670 > Project: mevenide > Issue Type: Bug > Components: mevenide2-netbeans > Affects Versions: NB_3.1 > Environment: Windows XP SP3 > Reporter: Dariusz Kordonski > Assignee: Milos Kleint > Fix For: NB_FUTURE > > > In my project pom.xml I have Antrun plugin defined, which runs Axis WSDL2Java tool and stores generated sources in a directory target/generated-sources/main/java. Using <sourceRoot> element I am able to add this directory to the compiler path before excuting 'compile' phase. Mevenide2 somehow recognizes that and adds 'Generated sources' directory to the project view. The problem is, that it treats 'main' directory within it as the base src location and therefore it adds 'java' prefix to the package name of all the generated classes, which obviously results in errors in NB (package of each generated class does not match). I do not expect mevenide2 to take every single Maven plugin configuration into account when generating source path for project, but there should be at least possibility to e.g. add/correct manually the missing / incorrect src locations (independently from what is provided in pom). Otherwise it is impossible to work in NB / mevenide in suche cases as this. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |