Hi,

I have a problem when I run a project's uberjar : the method getPackage()
(defined in Class) returns null.
When I run the project in Eclipse I get the expected behaviour.

Here's the output of the line
System.out.println(getClass() + " is in package " +
getClass().getPackage());

 run by Eclipse:
  class test.ProjectTest is in package package test

 run by java -jar project-test-1.0-uber.jar
  class test.ProjectTest is in package null


JL


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to