Some IvyDe behaviour misunderstood
up vote
0
down vote
favorite
I develop some Apache Nutch plugin in Eclipse.
I tried to use IvyDe Eclipse plugin to download sources for dependent jars.
Almost all source jar downloaded with no problem, but for unknown reason some .class Jars have been mapped to the corresponding test jar. I'm asking for an advice to solve this behaviour.
Why ivy copies test library instead of core one?
Is this a configuration error or ivy error or may be it is a feature ?
So I'm getting the wrong lib at build stage.
ant -v gives, among other things,
[ivy:retrieve] retrieving
/home/toor/.ivy2/cache/com.j256.ormlite/ormlite-core/jars/ormlite-core-5.1-tests.jar
[ivy:retrieve] to
/home/toor/nutch/1.15/dst/build/lib/ormlite-core-5.1.jar
[ivy:retrieve] retrieving /home/toor/.ivy2/cache/org.apache.hadoop/hadoop-auth/test-jars/hadoop-auth-2.7.4-tests.jar
[ivy:retrieve] to /home/toor/nutch/1.15/dst/build/lib/hadoop-auth-2.7.4.jar
eclipse ant nutch ivy ivyde
add a comment |
up vote
0
down vote
favorite
I develop some Apache Nutch plugin in Eclipse.
I tried to use IvyDe Eclipse plugin to download sources for dependent jars.
Almost all source jar downloaded with no problem, but for unknown reason some .class Jars have been mapped to the corresponding test jar. I'm asking for an advice to solve this behaviour.
Why ivy copies test library instead of core one?
Is this a configuration error or ivy error or may be it is a feature ?
So I'm getting the wrong lib at build stage.
ant -v gives, among other things,
[ivy:retrieve] retrieving
/home/toor/.ivy2/cache/com.j256.ormlite/ormlite-core/jars/ormlite-core-5.1-tests.jar
[ivy:retrieve] to
/home/toor/nutch/1.15/dst/build/lib/ormlite-core-5.1.jar
[ivy:retrieve] retrieving /home/toor/.ivy2/cache/org.apache.hadoop/hadoop-auth/test-jars/hadoop-auth-2.7.4-tests.jar
[ivy:retrieve] to /home/toor/nutch/1.15/dst/build/lib/hadoop-auth-2.7.4.jar
eclipse ant nutch ivy ivyde
Sounds similar to IVY-1586. The easiest way to go for Nutch development on Eclipse is to callant eclipse
which creates .project and .classpath files.
– Sebastian Nagel
Nov 12 at 7:35
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I develop some Apache Nutch plugin in Eclipse.
I tried to use IvyDe Eclipse plugin to download sources for dependent jars.
Almost all source jar downloaded with no problem, but for unknown reason some .class Jars have been mapped to the corresponding test jar. I'm asking for an advice to solve this behaviour.
Why ivy copies test library instead of core one?
Is this a configuration error or ivy error or may be it is a feature ?
So I'm getting the wrong lib at build stage.
ant -v gives, among other things,
[ivy:retrieve] retrieving
/home/toor/.ivy2/cache/com.j256.ormlite/ormlite-core/jars/ormlite-core-5.1-tests.jar
[ivy:retrieve] to
/home/toor/nutch/1.15/dst/build/lib/ormlite-core-5.1.jar
[ivy:retrieve] retrieving /home/toor/.ivy2/cache/org.apache.hadoop/hadoop-auth/test-jars/hadoop-auth-2.7.4-tests.jar
[ivy:retrieve] to /home/toor/nutch/1.15/dst/build/lib/hadoop-auth-2.7.4.jar
eclipse ant nutch ivy ivyde
I develop some Apache Nutch plugin in Eclipse.
I tried to use IvyDe Eclipse plugin to download sources for dependent jars.
Almost all source jar downloaded with no problem, but for unknown reason some .class Jars have been mapped to the corresponding test jar. I'm asking for an advice to solve this behaviour.
Why ivy copies test library instead of core one?
Is this a configuration error or ivy error or may be it is a feature ?
So I'm getting the wrong lib at build stage.
ant -v gives, among other things,
[ivy:retrieve] retrieving
/home/toor/.ivy2/cache/com.j256.ormlite/ormlite-core/jars/ormlite-core-5.1-tests.jar
[ivy:retrieve] to
/home/toor/nutch/1.15/dst/build/lib/ormlite-core-5.1.jar
[ivy:retrieve] retrieving /home/toor/.ivy2/cache/org.apache.hadoop/hadoop-auth/test-jars/hadoop-auth-2.7.4-tests.jar
[ivy:retrieve] to /home/toor/nutch/1.15/dst/build/lib/hadoop-auth-2.7.4.jar
eclipse ant nutch ivy ivyde
eclipse ant nutch ivy ivyde
edited Nov 9 at 22:37
asked Nov 8 at 22:49
Nikolai Kopylov
112
112
Sounds similar to IVY-1586. The easiest way to go for Nutch development on Eclipse is to callant eclipse
which creates .project and .classpath files.
– Sebastian Nagel
Nov 12 at 7:35
add a comment |
Sounds similar to IVY-1586. The easiest way to go for Nutch development on Eclipse is to callant eclipse
which creates .project and .classpath files.
– Sebastian Nagel
Nov 12 at 7:35
Sounds similar to IVY-1586. The easiest way to go for Nutch development on Eclipse is to call
ant eclipse
which creates .project and .classpath files.– Sebastian Nagel
Nov 12 at 7:35
Sounds similar to IVY-1586. The easiest way to go for Nutch development on Eclipse is to call
ant eclipse
which creates .project and .classpath files.– Sebastian Nagel
Nov 12 at 7:35
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53217332%2fsome-ivyde-behaviour-misunderstood%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Sounds similar to IVY-1586. The easiest way to go for Nutch development on Eclipse is to call
ant eclipse
which creates .project and .classpath files.– Sebastian Nagel
Nov 12 at 7:35