I'm having some difficulty getting tapestry to compile let alone run in
my IDE (IntelliJ IDEA 9) so I reverted to running the ant script from
the command line. Ant (1.8.0) works fine for several other projects, as
does tomcat (6.0) on my Windows XP machine.
My build.properties file ends up looking like this:
app.name=jumpstart
enterprise.dir=enterprise
web.dir=web
business.dir=business
collapsed.dir=collapsed
exploded.dir=exploded
maven.repo.root=http://repo1.maven.org/maven2
deployment.server.type=tomcat
deployment.persistence.descriptor=openejb-hibernate-hsqldb-persistence.x
ml
deployment.web.descriptor=web.xml
integration.test.server.dir=c:/Program Files/_System/Tomcat 6.0
add.source.to.war=
I changed the defaults to use the tomcat settings (and tried several
[relative path] variations on the integration.test.server.dir path in
addition to the absolute path shown)
I am behind a nasty proxy that requires a password so I didn't count on
the default target to work, but surely that isn't required for the
compile target, right?
I would have guessed that the classpath would have been set in the build
script, or configured in the properties, but I'm not seeing that. I end
up with what is surly a classpath error in that javax is not found
(error below). This seems pretty basic so I'm guess this is my
oversight, but I didn't find any detailed setup instructions in the wiki
or faq section of the webpage nor a similar question already on the
mailing list so I thought I'd ask...
C:\Projects\jumpstart-4.5.2>ant compile
Buildfile: C:\Projects\jumpstart-4.5.2\build.xml
compile:
[echo] **************************
[echo] Compiling Business module...
[echo] **************************
init:
compile:
[javac] C:\Projects\jumpstart-4.5.2\business\build.xml:125: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last;
set to false for rep
eatable builds
[javac] Compiling 71 source files to
C:\Projects\jumpstart-4.5.2\business\target\classes
[javac]
C:\Projects\jumpstart-4.5.2\business\src\main\java\jumpstart\business\co
mmons\exception\AuthenticationException.java:3: package javax.ejb does
not exist
[javac] import
javax.ejb.ApplicationException;
[javac] ^