buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lacton (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BUILDR-123) eclipse task should honor ResourceTask's target directory
Date Wed, 06 Aug 2008 13:52:44 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lacton updated BUILDR-123:
--------------------------

    Attachment: BUILDR-123.lib.patch

Here is a better lib patch. I introduced a new class to factor and group the low-level details.

> eclipse task should honor ResourceTask's target directory
> ---------------------------------------------------------
>
>                 Key: BUILDR-123
>                 URL: https://issues.apache.org/jira/browse/BUILDR-123
>             Project: Buildr
>          Issue Type: Bug
>          Components: IDE
>    Affects Versions: 1.3.3
>         Environment: buildr trunk revision 682561
>            Reporter: Lacton
>            Priority: Minor
>         Attachments: BUILDR-123.lib.patch, BUILDR-123.lib.patch, BUILDR-123.spec.patch
>
>
> buildr copies resources to target/resources and target/test/resources.
> The eclipse task generates a .classpath file that does not honor this behavior. It generates
a .classpath file that copies resources to the CompileTask's target (e.g., target/classes
or target/test/classes).
> Here's an example.
> = What the eclipse task generates now =
> <classpath>
>  <classpathentry kind="src" path="src/main/java" excluding="**/.svn/|**/CVS/"/>
>  <classpathentry kind="src" path="src/main/resources" excluding="**/.svn/|**/CVS/"/>
>  <classpathentry kind="src" path="src/test/java" output="target/test/classes" excluding="**/.svn/|**/CVS/"/>
>  <classpathentry kind="src" path="src/test/resources" output="target/test/classes"
excluding="**/.svn/|**/CVS/"/>
>  <classpathentry kind="var" path="M2_REPO/jmock/jmock/1.2.0/jmock-1.2.0.jar"/>
>  <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar"/>
>  <classpathentry kind="output" path="target/classes"/>
>  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> </classpath>
> = What I think would be more consistent =
> <classpath>
>  <classpathentry kind="src" path="src/main/java" excluding="**/.svn/|**/CVS/"/>
>  <classpathentry kind="src" path="src/main/resources" output="target/resources" excluding="**/.svn/|**/CVS/"/>
>  <classpathentry kind="src" path="src/test/java" output="target/test/classes" excluding="**/.svn/|**/CVS/"/>
>  <classpathentry kind="src" path="src/test/resources" output="target/test/resources"
excluding="**/.svn/|**/CVS/"/>
>  <classpathentry kind="var" path="M2_REPO/jmock/jmock/1.2.0/jmock-1.2.0.jar"/>
>  <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar"/>
>  <classpathentry kind="output" path="target/classes"/>
>  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> </classpath>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message