At 12:25  16/3/01 -0500, Jon Baer wrote:
>Sorry if this is a "newbie" question but I recently wrote a build.xml for my
>open source project and I noticed that any .properties file and .xml files
>including under my /src directory were not transfered over or included
with my
>.jar.
>
>Is there a setting Im suppose to be looking @ for including these files?

nope. Just use the copy task something like

    <copy todir="${build.classes}">
      <fileset dir="${java.dir}">
        <include name="**/*.properties"/>
        <include name="**/*.xml"/>
      </fileset>
    </copy>

or

    <copy todir="${build.classes}">
      <fileset dir="${java.dir}">
        <exclude name="**/*.java"/>
      </fileset>
    </copy>
Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

Reply via email to