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

generic classpath arguments cannot be passed to execution #35

Open
GoogleCodeExporter opened this issue Apr 7, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. try to instantiate a class using reflection, that exists in a jar that was 
added to classpath from command line using -cp

2. exception. class is not found in classpath

What is the expected output? What do you see instead?
class in jar that was added to classpath is found

What version of onejar-maven-plugin are you using?
0.97

What is the output of "mvn -version" on your machine?
1.7 64bit

Please provide any additional information below.
running the jar with java -jar ignores classpath arguments
and running the jar with java -classpath + main class throws err cant find main
these issues have to do with the plugin classloader
so generic classpath arguments cannot be passed to execution

Original issue reported on code.google.com by cla...@gmail.com on 14 Aug 2012 at 3:32

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

No branches or pull requests

1 participant