RE: ant build.xml help

[email protected] (Dan McCarty) Fri, 9 Jan 2004 08:11:42 -0700
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
  -----Original Message-----
  From: [email protected]
[mailto:[email protected]]On Behalf Of damar thapa
  Sent: Thursday, January 08, 2004 8:43 PM
  To: [email protected]
  Subject: [Barracuda] ant build.xml help



  Hi,

  I have the following project file structure:

  1.    /Project/src/project -- root

  2.    /Project/src/project/presentation -- all java files are here.

  3.    /Project/src/project/resources -- All directories with html files
are here.  I have created several directories under this to separate related
html files from one another.  All html files related to main, for example,
are at /Project/src/project/resources/main, and images for this directories
are at /Project/src/project/resources/main/graphics.

  When I compile, all text hmtl files comes ok, but not the images.  I have
the following in the build.xml:

  <target name="content" depends="prepare">
       <copy todir="${dir.content}">
          <fileset dir="${dir.src}/${dir.package}/resources">
      <include name="**/*.css"/>
      <include name="**/*.gif"/>
      <include name="**/*.jpg"/>
      <include name="**/*.js"/>
      <include name="**/*.jsp"/>
          </fileset>
       </copy>
    </target>

  Can some body on the list point me to direction how and where can I solve
this problem in build.xml?

  My apology that this may not be very much barracuda related question.

  Damar