Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » jardesc file question
jardesc file question [message #98755] Thu, 25 September 2003 07:12 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Search/Replace
Next Topic:finding the JDK version of an IVMInstall
Goto Forum:
  


Current Time: Fri Sep 27 05:27:01 GMT 2024

Powered by FUDForum. Page generated in 0.03018 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top