You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Matteo Vaccari (JIRA)" <ji...@apache.org> on 2011/08/04 08:35:27 UTC
[jira] [Created] (BUILDR-604) Eclipse task generates incorrect
classpath entries
Eclipse task generates incorrect classpath entries
--------------------------------------------------
Key: BUILDR-604
URL: https://issues.apache.org/jira/browse/BUILDR-604
Project: Buildr
Issue Type: Bug
Components: IDE
Affects Versions: 1.4.6
Reporter: Matteo Vaccari
In the setup that follows,
define 'problematic', :version => '0.0' do
define 'foo' do
package :war
end
define 'bar' do
compile.with project('foo').compile.target, project('foo').test.compile.target
end
end
the eclipse task generates incorrect .classpath entries for project bar
<classpath>
<classpathentry path="/Users/matteo/work/.../problematic/foo/target/classes" kind="src" excluding="**/.svn/|**/CVS/"/>
<classpathentry path="/Users/matteo/work/.../problematic/foo/target/test/classes" kind="src" excluding="**/.svn/|**/CVS/"/>
...
</classpath>
The absolute paths are not recognized by Eclipse, that interprets the /Users... paths as it they were relative to the workspace.
There is a workaround with eclipse.exclude_lib that I documented here:
https://cwiki.apache.org/confluence/display/BUILDR/How+to+depend+on+a+war-packaged+project
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (BUILDR-604) Eclipse task generates incorrect
classpath entries
Posted by "Peter Donald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Donald updated BUILDR-604:
--------------------------------
Fix Version/s: 1.5
> Eclipse task generates incorrect classpath entries
> --------------------------------------------------
>
> Key: BUILDR-604
> URL: https://issues.apache.org/jira/browse/BUILDR-604
> Project: Buildr
> Issue Type: Bug
> Components: IDE
> Affects Versions: 1.4.6
> Reporter: Matteo Vaccari
> Fix For: 1.5
>
>
> In the setup that follows,
> define 'problematic', :version => '0.0' do
> define 'foo' do
> package :war
> end
>
> define 'bar' do
> compile.with project('foo').compile.target, project('foo').test.compile.target
> end
> end
> the eclipse task generates incorrect .classpath entries for project bar
> <classpath>
> <classpathentry path="/Users/matteo/work/.../problematic/foo/target/classes" kind="src" excluding="**/.svn/|**/CVS/"/>
> <classpathentry path="/Users/matteo/work/.../problematic/foo/target/test/classes" kind="src" excluding="**/.svn/|**/CVS/"/>
> ...
> </classpath>
> The absolute paths are not recognized by Eclipse, that interprets the /Users... paths as it they were relative to the workspace.
> There is a workaround with eclipse.exclude_lib that I documented here:
> https://cwiki.apache.org/confluence/display/BUILDR/How+to+depend+on+a+war-packaged+project
--
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
[jira] [Commented] (BUILDR-604) Eclipse task generates incorrect
classpath entries
Posted by "Dani Perez (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264281#comment-13264281 ]
Dani Perez commented on BUILDR-604:
-----------------------------------
Somehow related: https://github.com/apache/buildr/pull/3
> Eclipse task generates incorrect classpath entries
> --------------------------------------------------
>
> Key: BUILDR-604
> URL: https://issues.apache.org/jira/browse/BUILDR-604
> Project: Buildr
> Issue Type: Bug
> Components: IDE
> Affects Versions: 1.4.6
> Reporter: Matteo Vaccari
>
> In the setup that follows,
> define 'problematic', :version => '0.0' do
> define 'foo' do
> package :war
> end
>
> define 'bar' do
> compile.with project('foo').compile.target, project('foo').test.compile.target
> end
> end
> the eclipse task generates incorrect .classpath entries for project bar
> <classpath>
> <classpathentry path="/Users/matteo/work/.../problematic/foo/target/classes" kind="src" excluding="**/.svn/|**/CVS/"/>
> <classpathentry path="/Users/matteo/work/.../problematic/foo/target/test/classes" kind="src" excluding="**/.svn/|**/CVS/"/>
> ...
> </classpath>
> The absolute paths are not recognized by Eclipse, that interprets the /Users... paths as it they were relative to the workspace.
> There is a workaround with eclipse.exclude_lib that I documented here:
> https://cwiki.apache.org/confluence/display/BUILDR/How+to+depend+on+a+war-packaged+project
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira