20030223 Sunday February 23, 2003

Use Maven? Experience says no... I've been wanting to upgrade struts-resume to use Maven, but after reading Patrick's post, I might just change my mind.

And after 2 years of using Ant, Maven (which uses Jelly and Werkz as the underlying engines) behaves differently enough from Ant to utterly frustrate me. So I'm back heading back to the drawing board for new ideas.

Of course, my hope is to integrate Maven without losing Ant and let them both live beside each other intimately. Someday it will be done... Posted in Java at Feb 23 2003, 04:30:52 PM MST 1 Comment

Comments:

Im using indirection with ant to avoid duplication. I wrote a dozen of entities, each one with related tasks: javadoc.ent, xdoclet.ent, etc. Then I call them from several files (more entities of build.xml) persistence.xtarget, web.xtarget, ..., using blocks like <antcall target="-javac.compile"> &nbsp;&nbsp;<param name="build.dir" value="${persistence.build.dir}"/> &nbsp;&nbsp;... (lot of params) </antcall> In short, I replaced ant code with antcall blocks. Maybe same number of lines, but I think is more legible, you see a target and its params. My wish for Ant2: a better way to define a contract between modules of ant code.

Posted by jano on February 23, 2003 at 06:50 PM MST #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is a Web Architecture Consultant specializing in open source frameworks.
« May 2012
SunMonTueWedThuFriSat
  
1
2
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
23
24
25
26
27
28
29
30
31
  
       
Today

Recent Entries

Tag Cloud