jardesc file question [message #98755] |
Thu, 25 September 2003 07:12 |
Eclipse User |
|
|
|
Originally posted by: christian.dierberger.dornier.eads.net
Hi,
i want to generate a jar file of all existing *.java files in a directory
or subdirectory without updating the jardesc file permanently, if new java
files are created. Is there a way to solve these problem. I have tried the
following example, but it didn't works.
<selectedElements exportClassFiles="true" exportJavaFiles="false">
<javaElement handleIdentifier="=Path;ClassPath{*.java"/>
</selectedElements>
Thanks
|
|
|
Re: jardesc file question [message #98922 is a reply to message #98755] |
Thu, 25 September 2003 13:02 |
Eclipse User |
|
|
|
Originally posted by: daniel.megert.gmx.net
Christian Dierberger wrote:
> Hi,
>
> i want to generate a jar file of all existing *.java files in a directory
> or subdirectory without updating the jardesc file permanently, if new java
> files are created. Is there a way to solve these problem. I have tried the
> following example, but it didn't works.
>
> <selectedElements exportClassFiles="true" exportJavaFiles="false">
> <javaElement handleIdentifier="=Path;ClassPath{*.java"/>
> </selectedElements>
>
> Thanks
>
Using Java elements in the Jardesc (javaElement=) only works for source
folders and projects since packages don't have sub-packages. If you want
everything which is in a folder then use this syntax:
<folder path="/myProject/myFolder"/>
HTH
Dani
|
|
|
Powered by
FUDForum. Page generated in 0.03346 seconds