E
Elliot W. Scott
Hey there, I am an ex-.NET programmer, and I just have a detailed a
question for all of you. I don't understand how the jar utility is
supposed to work. Lets say I have this folder structure in my HD.
C:\
|-projects
| |-projecta
| |-com
| |-foo
| |-bar
| |-TestApplication.class
| |-TestApplication.java
| |-AnotherApplication.class
| |-AnotherApplication.java
|
|-misc
| |-org
| |-somewhere
| |-example
| |-Ancillary.java
| |-Ancillary.class
In my jar file. I want the following contained as such
|-com
| |-foo
| |=bar
| |-TestApplication.class
| |-AnotherApplication.class
|-org
| |-somewhere
| |-example
| |-Ancillary.class
How would you use the jar utility to create this jar file. I know about
ant and that works great. I just want to know how to efficiently and
quickly do this using the jar utility. I have a solution, but it seems
contrived.
question for all of you. I don't understand how the jar utility is
supposed to work. Lets say I have this folder structure in my HD.
C:\
|-projects
| |-projecta
| |-com
| |-foo
| |-bar
| |-TestApplication.class
| |-TestApplication.java
| |-AnotherApplication.class
| |-AnotherApplication.java
|
|-misc
| |-org
| |-somewhere
| |-example
| |-Ancillary.java
| |-Ancillary.class
In my jar file. I want the following contained as such
|-com
| |-foo
| |=bar
| |-TestApplication.class
| |-AnotherApplication.class
|-org
| |-somewhere
| |-example
| |-Ancillary.class
How would you use the jar utility to create this jar file. I know about
ant and that works great. I just want to know how to efficiently and
quickly do this using the jar utility. I have a solution, but it seems
contrived.