Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

Maven: Calling ANT scripts before build

Thread view: 
Axel Bock - 10 May 2006 10:28 GMT
Hi all,

I have this little problem in maven. I like to call an ANT script which
does some JAXB compiling before my compile goal is executed.

does anyone know how to achieve this? I have looked into the docs, and
I don't quite get it, I fear ... :-) .

Thanks in advance & greetings,
Axel.
Thomas Fritsch - 10 May 2006 12:27 GMT
Axel Bock schrieb:
> I have this little problem in maven. I like to call an ANT script which
> does some JAXB compiling before my compile goal is executed.
>
> does anyone know how to achieve this? I have looked into the docs, and
> I don't quite get it, I fear ... :-) .

It might be something like this:
  <preGoal name="compile">
     <ant ...>
        ...
     </ant>
  </preGoal>

But it is only a guess, because I'm not fluent in all this gabby
maven/ant stuff.

Signature

"Thomas:Fritsch$ops:de".replace(':','.').replace('$','@')



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.