Firstly, I would urge you not to use ant. It's easy to end up with spaghetti
code that does not conform to any standard. Even though I hate maven, it's
1000 times better than ant. I suggest you build with gradle.

If you *must* use ant. Then I suggest that you at least conform to the maven
standard for directory layout here:
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

If you are going to use ant, you will need to do everything yourself.

This includes:
Compiling src/main/java and zipping the results into your jar (or copying to
the classes dir in your webapp)
Zipping all files in src/main/resources into your jar (or copying to the
classes dir in your webapp)

I'm sure some helpful soul has written an ant script that conforms to the
very sensible maven/gradle conventions. I suggest you google it.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-build-both-tml-java-page-using-ant-build-tp5718711p5718717.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to