Ant

The information about the combination of these two goodies is to say the least scarce. I decided to create a minimal small POC project which

Full credit to Ittai who helped me out with this post.

1-Has a self contained Maven POM, which works out of the box without any major modifications.
2-Explicitly invokes AntInstaller via a configuration file while utilizing an antinstaller properties file
3-Is easy to understand and expand.

Without further ado, I shall describe the files involved in the project which was fully build using the one and only Intellij IDEA.

Folder structure is as follows:

|-tikalk-installer
 |---src
 |-----main
 |-------antlib
 |-------installer
 |-------lib

The directory structure was generated using the folowing linux command:

shlomo 26/10/2010 - 11:35
liya 17/07/2009 - 09:34

I have multiple modules project built partially with Maven (pure Java modules) and partially with ANT with IVY dependencies management (mixed Java and other technologies modules).
I have an IVY module that depends on another IVY module, which depends on Maven module.
('IVY module X' <- 'IVY module Y' <- 'Maven module Z')

When Y is coming from maven repository (Nexus) , X doesn't get the transitive dependency Z as I would expect expect.

I couldn't find anything on the net, so the workaround for now is to define Z as another dependency of X...

Have anyone dealt with this problem?

liya 09/07/2009 - 12:23

Hi all,

 

I need to create an installation for a product.

I'm looking for an open source Installer with fast learning curve, cross platform, java based (preffered). 

Pros & cons will be appreciated.

 

Thank you,

-Arik

arik 01/07/2009 - 09:08

I need to make pom.xml to generate Axis2 client based on WSDL file. Originally code was developed for client generated by Ant.

I used axistools-maven-plugin to do that. However Maven plugin generates different code.

I think the problem is plugin configuration. But i can't find enough documentation or examples to configure the plugin to generate in the same manner as Ant script.

Ant configuration:

tigor 24/06/2009 - 13:09

It happens many times that you need to set a property using path defined in the build process and convert slashes according to the relevant OS, and do it while coping the property file to the target directory during build.
Here is a simple example how to do it with Ant:

let's say mypath is defined as "module\conf\xml"
in your my.properties the path should appear as:
MY_NEW_PATH=@mypath@/more/xxx

liya 14/06/2009 - 12:46

An intresting post on CM / RELENG see: http://www.dzone.com/links/r/configuration_management_position_can_be_do...

I think we can add to the What are CM responsibilities? in whole it's a great stright to the point article.

 

Enjoy

 

hagzag 22/08/2010 - 13:15

Maven is crap, Ant is better, Rake for the rescue...

Yet another blog entry (updated) to support my approach in the last 6 years...

 

adi 25/01/2010 - 10:08

Apparently without us noticing it is the 12th of January already and Ant 1.80RC1 has been released 

hagzag 06/01/2010 - 15:45
Syndicate content