ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John McClain" <>
Subject ant newbie question
Date Thu, 16 Aug 2001 04:48:19 GMT
I have a web app that I am trying to learn ant with.
In this test scenario, I don't want to use packages, so I am trying to figure out the best
way to use ant to build the entire project.
Here is my build file and my includesfile

<project name="crossroads" default="buildActions" basedir=".">
<target name="init">
  <property name="classes" value="WEB-INF/classes" />

<target name="tstBuild" depends="init">
  <javac srcdir="${classes}" destdir="${classes}" includesfile="incFile">
    <pathelement location="/opt/jakarta-tomcat-3.2.1/lib/servlet.jar"/>
    <pathelement location="WEB-INF/lib/struts.jar"/>
    <pathelement location="WEB-INF/classes/Forms"/>
    <pathelement location="${Utils}"/>
    <pathelement location="${Forms}"/>
    <pathelement location="${DataSources}"/>
    <pathelement location="${DomainObjects}"/>
    <pathelement location="${Actions}"/>
    <pathelement location="${TagSrc}"/>
<!-- here is incFile 

  a.. Why do I get the following when It did nothing. Should I not get "project up to date"
or "no files found" or something to tell me what it is doing:
earching for build.xml ...

Buildfile: /home/jmcclain/dev/crossroads2/build.xml




Total time: 0 seconds 

  a.. Can I use a pattern or fileset instead of an include file? how would I do it???
  b.. Is there a better way to do this NOT using packages?
John and Michelle McClain
7604 Muschetto Ct.
Citrus Heights, Ca. 95621

View raw message