[jboss-jira] [JBoss JIRA] Updated: (JBRULES-3184) Examples in the distribution zip should include eclipse configuration

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Thu Aug 18 10:49:17 EDT 2011


     [ https://issues.jboss.org/browse/JBRULES-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey De Smet updated JBRULES-3184:
--------------------------------------

    Description: 
Mark wants this.

A fundamental problem is that for each examples module, there are 3 DIFFERENT eclipse configurations:
A) development: regenerated often by m2eclipse (or mvn eclipse:eclipse) - uses ~/.m2/repository jars.
B) distribution zip for people with the drools eclipse plugin: should rely on the drools eclipse plugin by adding a build command for org.drools.eclipse.droolsbuilder. 
C) distribution zip without drools eclipse plugin: should NOT rely on the drools eclipse plugin. Uses ../lib/*.jars if needed.

Solution proposals:
1) No .project/classpath next to drools-examples/pom.xml (so gitignore them, let them generate A = current situation)
and drools-distribution/src/main/assembly-resources/drools-examples/.project and .classpath that suffice for B.
Do not include any ../lib/*.jars (and definitely not ~/.m2/repository jars): rely on the drools eclipse plugin to put those in the classpath.
Users of category C are not helped.
2) During building the drools-distribution, somehow generate the .project and .classpath to include all dependencies from ../lib/*.jars (including transitive dependencies without having to specify them).
3) Just wait a little bit longer until m2eclipse is part of the default eclipse distribution. Since the pom.xml files are there already, this becomes a none issue as they'll just open the pom.xml files (like in IntelliJ).

  was:
Mark wants this.

A fundamental problem is that for each examples module, there are 3 DIFFERENT eclipse configurations:
A) development: regenerated often by m2eclipse (or mvn eclipse:eclipse) - uses ~/.m2/repository jars.
B) distribution zip for people with the drools eclipse plugin: should rely on the drools eclipse plugin by adding a build command for org.drools.eclipse.droolsbuilder. 
C) distribution zip without drools eclipse plugin: should NOT rely on the drools eclipse plugin. Uses ../lib/*.jars if needed.

Solution proposals:
1) No .project/classpath next to drools-examples/pom.xml (so gitignore them, let them generate A = current situation)
and drools-distribution/src/main/assembly-resources/drools-examples/.project and .classpath that suffice for B.
Do not include any ../lib/*.jars (and definitely not ~/.m2/repository jars): rely on the drools eclipse plugin to put those in the classpath.
Users of category C are not helped.
2) During building the drools-distribution, somehow generate the .project and .classpath to include all dependencies from ../lib/*.jars (including transitive dependencies without having to specify them).



> Examples in the distribution zip should include eclipse configuration
> ---------------------------------------------------------------------
>
>                 Key: JBRULES-3184
>                 URL: https://issues.jboss.org/browse/JBRULES-3184
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Geoffrey De Smet
>            Priority: Minor
>
> Mark wants this.
> A fundamental problem is that for each examples module, there are 3 DIFFERENT eclipse configurations:
> A) development: regenerated often by m2eclipse (or mvn eclipse:eclipse) - uses ~/.m2/repository jars.
> B) distribution zip for people with the drools eclipse plugin: should rely on the drools eclipse plugin by adding a build command for org.drools.eclipse.droolsbuilder. 
> C) distribution zip without drools eclipse plugin: should NOT rely on the drools eclipse plugin. Uses ../lib/*.jars if needed.
> Solution proposals:
> 1) No .project/classpath next to drools-examples/pom.xml (so gitignore them, let them generate A = current situation)
> and drools-distribution/src/main/assembly-resources/drools-examples/.project and .classpath that suffice for B.
> Do not include any ../lib/*.jars (and definitely not ~/.m2/repository jars): rely on the drools eclipse plugin to put those in the classpath.
> Users of category C are not helped.
> 2) During building the drools-distribution, somehow generate the .project and .classpath to include all dependencies from ../lib/*.jars (including transitive dependencies without having to specify them).
> 3) Just wait a little bit longer until m2eclipse is part of the default eclipse distribution. Since the pom.xml files are there already, this becomes a none issue as they'll just open the pom.xml files (like in IntelliJ).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list