Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle ClassPath causes path warnings when using -Xlint:path #76

Closed
mal opened this issue Feb 13, 2014 · 2 comments
Closed

Bundle ClassPath causes path warnings when using -Xlint:path #76

mal opened this issue Feb 13, 2014 · 2 comments
Labels

Comments

@mal
Copy link

mal commented Feb 13, 2014

± lein uberjar
Compiling 2 source files to /home/mal/code/storm-app/target/classes
warning: [path] bad path element "/home/mal/.m2/repository/storm/jgrapht/0.8.3/lib/jgraph.jar": no such file or directory
1 warning
Created /home/mal/code/storm-app/target/test-v0.0.1.jar
Created /home/mal/code/storm-app/target/test-v0.0.1-standalone.jar
± ll /home/mal/.m2/repository/storm/jgrapht/0.8.3/
total 256
-rw-rw-r-- 1 mal mal 245255 Feb 13 20:55 jgrapht-0.8.3.jar
-rw-rw-r-- 1 mal mal     40 Feb 13 20:55 jgrapht-0.8.3.jar.sha1
-rw-rw-r-- 1 mal mal   1247 Feb 13 20:55 jgrapht-0.8.3.pom
-rw-rw-r-- 1 mal mal     40 Feb 13 20:55 jgrapht-0.8.3.pom.sha1
-rw-rw-r-- 1 mal mal    180 Feb 13 20:55 _maven.repositories

I'm guessing this problem is a result of the way jar files are stored in .m2 perhaps. I also realise that this example is using storm/jgrapht/0.8.3 however the same issue is suffered by:

Retrieving org/jgrapht/jgrapht-core/0.9.0/jgrapht-core-0.9.0.pom from central
@mal
Copy link
Author

mal commented Feb 13, 2014

Possibly already addressed by #68?

@jsichi
Copy link
Member

jsichi commented Feb 16, 2014

Hmmm...no, I think this is a different bug. In the manifest for jgrapht-core-0.9.1-SNAPSHOT.jar (latest), I see this:

Bundle-ClassPath: .,lib/xmlunit1.0.jar,lib/jgraph.jar,lib/TGGraphLayout.jar,lib/junit.jar

This seems wrong; only jgrapht-ext (not jgrapht-core) should depend on jgraph.jar, and only jgrapht-touchgraph should depend on TGGraphLayout.jar. Anyone know what generates these?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants