Re: How do you get a goal to call another goal effectively for reuse?

2005-12-21 Thread Lukas Theussl
You are using the same variable name (portlet_projects) twice in the 
 tag. Since you do the same tokenize again in the build 
goal, I guess it doesn't see the same variable anymore. Try something like


${portlet_projects}

or call  on the variable after each goal.

HTH,
Lukas


Lou Sacco wrote:


Please, I could really use some help on this one...thanks!

On 12/20/05, Lou Sacco <[EMAIL PROTECTED]> wrote:
 


I have the following where I want to reuse two previous goals I wrote to
do a clean, update from repository, and then build (for our continuous
integration build) as follows:

   
   
   
   
   

The clean and updateSource work fine, but the build just says "Starting
reactor..." and then it ends prematurely before running the build and with
no errors, claiming Build Successful.

Looking at the goals below in more detail, do you see where I might be
doing something wrong?  Can you reuse forEach loops like I do below?  I'm
using Maven 1.0.2.

Please feel free to respond to me directly...thanks!

Lou

   

   
   
   
   
   
   


   
   ${portlet_projects}
   
   
   
   
   
   
   
   

   
   
   
   ${portlet_projects}
   
   
   
   
   

   





 




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



Re: How do you get a goal to call another goal effectively for reuse?

2005-12-21 Thread Dion Gillard
Do you have any other output?

On 12/22/05, Lou Sacco <[EMAIL PROTECTED]> wrote:
> Please, I could really use some help on this one...thanks!
>
> On 12/20/05, Lou Sacco <[EMAIL PROTECTED]> wrote:
> >
> > I have the following where I want to reuse two previous goals I wrote to
> > do a clean, update from repository, and then build (for our continuous
> > integration build) as follows:
> >
> > 
> > 
> > 
> > 
> > 
> >
> > The clean and updateSource work fine, but the build just says "Starting
> > reactor..." and then it ends prematurely before running the build and with
> > no errors, claiming Build Successful.
> >
> > Looking at the goals below in more detail, do you see where I might be
> > doing something wrong?  Can you reuse forEach loops like I do below?  I'm
> > using Maven 1.0.2.
> >
> > Please feel free to respond to me directly...thanks!
> >
> > Lou
> >
> > 
> >
> > 
> > 
> > 
> > 
> > 
> > 
> >
> >  
> > 
> > ${portlet_projects}
> > 
> >  > indexVar="projectNumber">
> > 
> > 
> >  > dir="${basedir}/../${portlet_project}/WebContent/WEB-INF/lib"/>
> >  > dir="${basedir}/../${portlet_project}/WebContent/WEB-INF/classes"/>
> > 
> > 
> >
> > 
> > 
> > 
> > ${portlet_projects}
> > 
> >  > indexVar="projectNumber">
> >  > includes="${portlet_project}/project.xml"
> > postProcessing="true"
> > ignoreFailures="false" goals="war" />
> > 
> > 
> >
> >
>
>


--
http://www.multitask.com.au/people/dion/
"You are going to let the fear of poverty govern your life and your
reward will be that you will eat, but you will not live." - George
Bernard Shaw

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



Re: How do you get a goal to call another goal effectively for reuse?

2005-12-21 Thread Lou Sacco
Please, I could really use some help on this one...thanks!

On 12/20/05, Lou Sacco <[EMAIL PROTECTED]> wrote:
>
> I have the following where I want to reuse two previous goals I wrote to
> do a clean, update from repository, and then build (for our continuous
> integration build) as follows:
>
> 
> 
> 
> 
> 
>
> The clean and updateSource work fine, but the build just says "Starting
> reactor..." and then it ends prematurely before running the build and with
> no errors, claiming Build Successful.
>
> Looking at the goals below in more detail, do you see where I might be
> doing something wrong?  Can you reuse forEach loops like I do below?  I'm
> using Maven 1.0.2.
>
> Please feel free to respond to me directly...thanks!
>
> Lou
>
> 
>
> 
> 
> 
> 
> 
> 
>
>  
> 
> ${portlet_projects}
> 
>  indexVar="projectNumber">
> 
> 
>  dir="${basedir}/../${portlet_project}/WebContent/WEB-INF/lib"/>
>  dir="${basedir}/../${portlet_project}/WebContent/WEB-INF/classes"/>
> 
> 
>
> 
> 
> 
> ${portlet_projects}
> 
>  indexVar="projectNumber">
>  includes="${portlet_project}/project.xml"
> postProcessing="true"
> ignoreFailures="false" goals="war" />
> 
> 
>
>


How do you get a goal to call another goal effectively for reuse?

2005-12-20 Thread Lou Sacco
I have the following where I want to reuse two previous goals I wrote to do
a clean, update from repository, and then build (for our continuous
integration build) as follows:







The clean and updateSource work fine, but the build just says "Starting
reactor..." and then it ends prematurely before running the build and with
no errors, claiming Build Successful.

Looking at the goals below in more detail, do you see where I might be doing
something wrong?  Can you reuse forEach loops like I do below?  I'm using
Maven 1.0.2.

Please feel free to respond to me directly...thanks!

Lou










 

${portlet_projects}












${portlet_projects}