"Colin Chalmers" <[EMAIL PROTECTED]> wrote on 01/10/2002 06:44:45 
AM:

> I guess I'm one of the few still using B4, but I am busy upgrading.
> 
> I did have an Ant file which I used to call some VSS stuff followed 
> by some Maven calls to do the actual build. Any tips on how I can 
> call Maven from Ant or should I have a jelly script for that now?
This is probably best done as a pre or post process on an existing 'goal' 
(same as an ant target essentially).

So,  if this processing needs to be done before compilation, for example, 
you'd have a maven.xml file with the following:

<project default="java:jar">
    <preGoal name="java:compile">
      <!-- insert existing ant stuff here as maven can run it fine -->
    </preGoal>
</project>
...
> 
> I see a project.xsd file, is this extendable? ie can I change this 
> to suit my own project?

Sure, but Maven wont know what to do with your extensions....

> 
> /colin
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to