I think ant-apt.jar is no longer needed as long as you use ant 1.7+.
ant 1.6.5 required it, however, I haven't run 1.6.5 in a long time and
I'm not sure our build.xml file is still compatible. Before 1.6.5, ant
would not build JSFTemplating.
Let us know if you have more questions. I'm traveling back home from
Santa Clara today, although normally I'm available on IRC
(
https://jsftemplating.dev.java.net/irc.html). That's a good place to
get quick answers. Anissa and others are usually online also.
Good luck!
Ken Paulsen
Anissa Lam wrote:
Hi Wendy,
What version of ant are you using ? I am using 1.7.0
Apache Ant version 1.7.0 compiled on December 13 2006
I am running on window XP, just checked out jsftemplating, change
the glassfish-home property in jsftemplating/build.properties and do
'ant all' without any problem.
There is no environment or dependency to set except 'glassfish-home'.
Please try 'ant -version' and let us know which version you have.
thanks
Anissa.
Wendy Bossons wrote:
I
tried to build the JSFTemplating source today using windows command
line), but had problems at clean/build time. The ant task failed here:
<target name="compile" depends="init, jar-apt-files"
description="Compile source"> <mkdir dir="${build}/." />
<apt srcdir="${src}" fork="true" destdir="${build}/."
debug="${compile.debug}" deprecation="${compile.deprecation}"
excludes="**/annotation/**" optimize="${compile.optimize}"
target="${compile.target}" source="${source.version}"> <classpath
refid="dependencies" /> </apt> </target>
The message from the command prompt was "Could not create task or type
of type: apt.
I think that my dependencies are configured correctly. Does anyone know
what could be wrong? I have the ant-apt.jar in the ant lib directory
-- ..\Wendy
Wendy Bossons
Senior User Interface Developer
Harvard-MIT Data Center
Office Phone: 617-384-5701
Email: wbossons <at> hmdc.harvard.edu
--
..\Wendy
Wendy Bossons
Senior User Interface Developer
Harvard-MIT Data Center
Office Phone: 617-384-5701
Email: wbossons <at> hmdc.harvard.edu