hey,

I experimentet with that topic a long time, now I'll ask you...

I'd like to run a nightly-build to compile 4 projects, two of them depend on the two 
basic projects. For each of them I wrote maven.xml-files. Then I installed a fifth, a 
controll-maven-project, which runs the 4 projects, organizes the files, checkout the 
source, starting the jboss  and sending a mail etc. 

Now to the problem:
I testet 3 ways of calling the single projects:


First I tried (for each project): 
...
    <exec dir="${maven.project1.root.dir}"  executable="maven" > 
        <arg line="goal1 goal2..." />
    </exec> 
...

That works but it creates always a new process, which I don't like.

Then I thought, I reduce the memory use and the working time:
...
     <maven:reactor basedir="${maven.project1.root.dir}"
                     includes="project.xml"
                     goals="goal1, goal2...."
                     banner="Deploying project1"
                     ignoreFailures="true"
    />
...
But this not really works (Error: "please specify a basedir-tag" (?))

Then I tryed the maven:maven goal:
...
    <maven:maven
          descriptor="${maven.project1.root.dir}/project.xml"
          goals="goal1, goal2,..."
          ignoreFailures="true"
    />
...
but this aborts during executing the 3th project with an outofmemory Exception.

Why does the last method need more memory than the first?
That's confusing.

Thanks a lot,

Georg Scherzer


-----------------------------------------
   _      Georg Scherzer
 _|_|_    SCHEMA GmbH
|_| |_|   Andernacher Str. 18 
          D - 90411 Nuernberg
Tel +(49)911 - 58 68 61-58
WWW <http://www.schema.de/>



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

Reply via email to