|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (MEVENIDE-617) Support for filtering Java sourcesSupport for filtering Java sources
---------------------------------- Key: MEVENIDE-617 URL: http://jira.codehaus.org/browse/MEVENIDE-617 Project: mevenide Issue Type: Improvement Components: mevenide-netbeans Environment: All Reporter: Daniel Harvey Assignee: Milos Kleint Hi, I filter my Java source code as shown below. In this configuration, the Netbeans plugin assumed that the filtered source NOT my actual clean source is the location for the IDE. Can a configuration option be included within the plugin to cater for this behaviour? Great plugin! Cheers, Daniel. {code} ... <build> <!-- the Java source needs filtering --> <sourceDirectory>target/filteredsrc/main/java</sourceDirectory> <resources> <!-- filtered Java source code --> <resource> <directory>src/main/java</directory> <targetPath>../filteredsrc/main/java</targetPath> <filtering>true</filtering> </resource> ... {code} -- 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-617) Support for filtering Java sources[ http://jira.codehaus.org/browse/MEVENIDE-617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Milos Kleint updated MEVENIDE-617: ---------------------------------- Affects Version/s: NB_3.0 Fix Version/s: NB_FUTURE Component/s: (was: mevenide-netbeans) mevenide2-netbeans such setup will be actually very hard to get working unfortunately. There's no way to figure which "resource" is the one processing the java files. I don't want to add any kind of configuration panel in the project properties dialog, as the usecase is not common AFAIK and is not adding value to most developers. The resources cannot be annotated by properties or something that could help identifying the one special "resource". I'm wondering what are you actually filtering in the java files. > Support for filtering Java sources > ---------------------------------- > > Key: MEVENIDE-617 > URL: http://jira.codehaus.org/browse/MEVENIDE-617 > Project: mevenide > Issue Type: Improvement > Components: mevenide2-netbeans > Affects Versions: NB_3.0 > Environment: All > Reporter: Daniel Harvey > Assignee: Milos Kleint > Fix For: NB_FUTURE > > > Hi, > I filter my Java source code as shown below. In this configuration, the Netbeans plugin assumed that the filtered source NOT my actual clean source is the location for the IDE. Can a configuration option be included within the plugin to cater for this behaviour? > Great plugin! > Cheers, Daniel. > {code} > ... > <build> > <!-- the Java source needs filtering --> > <sourceDirectory>target/filteredsrc/main/java</sourceDirectory> > <resources> > <!-- filtered Java source code --> > <resource> > <directory>src/main/java</directory> > <targetPath>../filteredsrc/main/java</targetPath> > <filtering>true</filtering> > </resource> > ... > {code} -- 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-617) Support for filtering Java sources[ http://jira.codehaus.org/browse/MEVENIDE-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129874#action_129874 ] Daniel Harvey commented on MEVENIDE-617: ---------------------------------------- Thanks for the response. I'll need to consider another way of addressing the issue :-( The reason I filter Java files relates to code that I want "compiled out" of the generated class files in some circumstances. For example: {code} if(Config.includeFeatureX) { ... } {code} where the includeFeatureX is a {{static final boolean}} enables the "..." code to be conditionally included/excluded at compile time. This is a mechanism that I use often, but I think I can address it another way... thanks anyway. > Support for filtering Java sources > ---------------------------------- > > Key: MEVENIDE-617 > URL: http://jira.codehaus.org/browse/MEVENIDE-617 > Project: mevenide > Issue Type: Improvement > Components: mevenide2-netbeans > Affects Versions: NB_3.0 > Environment: All > Reporter: Daniel Harvey > Assignee: Milos Kleint > Fix For: NB_FUTURE > > > Hi, > I filter my Java source code as shown below. In this configuration, the Netbeans plugin assumed that the filtered source NOT my actual clean source is the location for the IDE. Can a configuration option be included within the plugin to cater for this behaviour? > Great plugin! > Cheers, Daniel. > {code} > ... > <build> > <!-- the Java source needs filtering --> > <sourceDirectory>target/filteredsrc/main/java</sourceDirectory> > <resources> > <!-- filtered Java source code --> > <resource> > <directory>src/main/java</directory> > <targetPath>../filteredsrc/main/java</targetPath> > <filtering>true</filtering> > </resource> > ... > {code} -- 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-617) Support for filtering Java sources[ http://jira.codehaus.org/browse/MEVENIDE-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156537#action_156537 ] Jaromir Uhrik commented on MEVENIDE-617: ---------------------------------------- This bug was transferred to the NetBeans Issuezilla bug tracking system as http://www.netbeans.org/issues/show_bug.cgi?id=154485 > Support for filtering Java sources > ---------------------------------- > > Key: MEVENIDE-617 > URL: http://jira.codehaus.org/browse/MEVENIDE-617 > Project: mevenide > Issue Type: Improvement > Components: mevenide2-netbeans > Affects Versions: NB_3.0 > Environment: All > Reporter: Daniel Harvey > Assignee: Milos Kleint > Fix For: NB_FUTURE > > > Hi, > I filter my Java source code as shown below. In this configuration, the Netbeans plugin assumed that the filtered source NOT my actual clean source is the location for the IDE. Can a configuration option be included within the plugin to cater for this behaviour? > Great plugin! > Cheers, Daniel. > {code} > ... > <build> > <!-- the Java source needs filtering --> > <sourceDirectory>target/filteredsrc/main/java</sourceDirectory> > <resources> > <!-- filtered Java source code --> > <resource> > <directory>src/main/java</directory> > <targetPath>../filteredsrc/main/java</targetPath> > <filtering>true</filtering> > </resource> > ... > {code} -- 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-617) Support for filtering Java sources[ http://jira.codehaus.org/browse/MEVENIDE-617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Milos Kleint closed MEVENIDE-617. --------------------------------- 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. > Support for filtering Java sources > ---------------------------------- > > Key: MEVENIDE-617 > URL: http://jira.codehaus.org/browse/MEVENIDE-617 > Project: mevenide > Issue Type: Improvement > Components: mevenide2-netbeans > Affects Versions: NB_3.0 > Environment: All > Reporter: Daniel Harvey > Assignee: Milos Kleint > Fix For: NB_FUTURE > > > Hi, > I filter my Java source code as shown below. In this configuration, the Netbeans plugin assumed that the filtered source NOT my actual clean source is the location for the IDE. Can a configuration option be included within the plugin to cater for this behaviour? > Great plugin! > Cheers, Daniel. > {code} > ... > <build> > <!-- the Java source needs filtering --> > <sourceDirectory>target/filteredsrc/main/java</sourceDirectory> > <resources> > <!-- filtered Java source code --> > <resource> > <directory>src/main/java</directory> > <targetPath>../filteredsrc/main/java</targetPath> > <filtering>true</filtering> > </resource> > ... > {code} -- 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 |