Re: Multiproject & dashboard - dashboard runs "the hard way"

2005-06-02 Thread Michael Niemaz

Well, it works for me although I'm not using the dashboard plugin.
Still, I had to remove the generation of some reports to prevent an 
outofmemory exception.

And it looks like it does go through the same goals several times.
But I can't spend to much time on that so ...
Try to play with the excludes parameters ...

--mike

Jeff Jensen wrote:


Thanks for the reply Mike.  I will gladly try anything at this point!!  :-|

That change causes some type of recursion!  Before it crashes, there are 7
nested "multiproject" dirs under the subproject build dir.  And now nothing is
under the multiproject build dir.

Hmm, either using multiproject:site is not correct or this continues to point to
something configured incorrectly...

Any further thoughts very welcome!  Thanks!


Quoting Michael Niemaz <[EMAIL PROTECTED]>:

 


Try to replace

maven.multiproject.site.goals=site,dashboard:report-single

with

maven.multiproject.site.goals=multiproject:site,dashboard:report-single


Hope this helps,

--mike

Jeff Jensen wrote:

   


I finally have dashboard report running by contradicting (per my
 


interpretation)
   


the documentation.  All 3 of these settings must be this way to get it to
 


run:
   


maven.multiproject.site.goals=site,dashboard:report-single

maven.dashboard.runreactor=true
maven.dashboard.rungoals=true


As expected and per the docs, dashboard runs all the Junit tests, etc. for
 


its
   


report.  While this accomplishes getting dashboard run, the underlying
 


problem
   


is still not solved.


For some reason, the "site" goal is not run on each subproject.  So the
subproject output (the html files in the end) needed for the multiproject
results to link to do not exist.


Can anyone explain this?  Does this point to a config error on my part, or
possibly a bug?


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




 


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


   






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


 



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



Re: How can I get around a nested expressions in Maven Plugin

2005-06-02 Thread Rahul

Thanks Brett,

Will keep that in mind :-)

Cheers,
Rahul

Brett Porter wrote:


Please try and keep your examples short so it is easier to find what you need.

Where you showed this:
${maven.assembler.patch.${patchID}.src}

I think what you want is:
${context.getVariable('maven.assembler.patch.'+pathID+'.src')}

HTH,
Brett

On 6/3/05, Rahul <[EMAIL PROTECTED]> wrote:
 


Hi,

I am writing a plugin that can patch resourses for different J2EE
servers. My build.properties file looks as below:


# Resources to be patched (comma-separated list)
# this sets up identifiers for resources
# FIXME : Trim leading and trailing spaces in list
maven.assembler.patch.list=jrun,tomcat,weblogic

# set up patch-sets here (src, target & includes)
maven.assembler.patch.jrun.src=${basedir}/patches/jrun
maven.assembler.patch.jrun.target=${basedir}/www
maven.assembler.patch.jrun.includes=**.*.properties

maven.assembler.patch.tomcat.src=${basedir}/patches/tomcat
maven.assembler.patch.tomcat.target=${basedir}/www
maven.assembler.patch.tomcat.includes=**/*.xml

maven.assembler.patch.weblogic.src=${basedir}/patches/weblogic
maven.assembler.patch.weblogic.target=${basedir}/www
maven.assembler.patch.weblogic.includes=**/*.xml,**.*.properties


and, I need to process it dynamically like this :
(a) create a list of patches. (easy)
(b) Iterate over patches and build 'patch-sets'. (stuck here!)
(c) copy over patches. (easy )

The plugin goal is reproduced below:

   

   
 ${list}

 
   INFO: Building Patch set for Patch ID :
${patchID}

   
^^^
^^^ (This is where I need nested expression,
something like ${maven.assembler.patch.${patchID}.src}   )

   
^^^
^

   
   
   
   
   

   
   
 
 
   

   
   
 
 
   

 
   
 

Thanks in advance for any pointers. Appreciate it.

Cheers,

Rahul


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


   



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


 




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



Re: How can I get around a nested expressions in Maven Plugin

2005-06-02 Thread Brett Porter
Please try and keep your examples short so it is easier to find what you need.

Where you showed this:
${maven.assembler.patch.${patchID}.src}

I think what you want is:
${context.getVariable('maven.assembler.patch.'+pathID+'.src')}

HTH,
Brett

On 6/3/05, Rahul <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I am writing a plugin that can patch resourses for different J2EE
> servers. My build.properties file looks as below:
> 
> 
> # Resources to be patched (comma-separated list)
> # this sets up identifiers for resources
> # FIXME : Trim leading and trailing spaces in list
> maven.assembler.patch.list=jrun,tomcat,weblogic
> 
> # set up patch-sets here (src, target & includes)
> maven.assembler.patch.jrun.src=${basedir}/patches/jrun
> maven.assembler.patch.jrun.target=${basedir}/www
> maven.assembler.patch.jrun.includes=**.*.properties
> 
> maven.assembler.patch.tomcat.src=${basedir}/patches/tomcat
> maven.assembler.patch.tomcat.target=${basedir}/www
> maven.assembler.patch.tomcat.includes=**/*.xml
> 
> maven.assembler.patch.weblogic.src=${basedir}/patches/weblogic
> maven.assembler.patch.weblogic.target=${basedir}/www
> maven.assembler.patch.weblogic.includes=**/*.xml,**.*.properties
> 
> 
> and, I need to process it dynamically like this :
> (a) create a list of patches. (easy)
> (b) Iterate over patches and build 'patch-sets'. (stuck here!)
> (c) copy over patches. (easy )
> 
> The plugin goal is reproduced below:
> 
> 
> 
> 
>trim="true">${list}
> 
>   
> INFO: Building Patch set for Patch ID :
> ${patchID}
> 
>  value="maven.assembler.patch.${patchID}.src" />
>  ^^^
> ^^^ (This is where I need nested expression,
> something like ${maven.assembler.patch.${patchID}.src}   )
> 
>  value="maven.assembler.patch.${patchID}.target" />
>  ^^^
> ^
> 
> 
> 
>  value="${basedir}/release-packaging" />
> 
> 
> 
> 
> 
>   
>   
> 
> 
> 
> 
>   
>   
> 
> 
>   
> 
>   
> 
> Thanks in advance for any pointers. Appreciate it.
> 
> Cheers,
> 
> Rahul
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



How can I get around a nested expressions in Maven Plugin

2005-06-02 Thread Rahul

Hi,

I am writing a plugin that can patch resourses for different J2EE 
servers. My build.properties file looks as below:



# Resources to be patched (comma-separated list)
# this sets up identifiers for resources
# FIXME : Trim leading and trailing spaces in list
maven.assembler.patch.list=jrun,tomcat,weblogic

# set up patch-sets here (src, target & includes)
maven.assembler.patch.jrun.src=${basedir}/patches/jrun
maven.assembler.patch.jrun.target=${basedir}/www
maven.assembler.patch.jrun.includes=**.*.properties

maven.assembler.patch.tomcat.src=${basedir}/patches/tomcat
maven.assembler.patch.tomcat.target=${basedir}/www
maven.assembler.patch.tomcat.includes=**/*.xml

maven.assembler.patch.weblogic.src=${basedir}/patches/weblogic
maven.assembler.patch.weblogic.target=${basedir}/www
maven.assembler.patch.weblogic.includes=**/*.xml,**.*.properties


and, I need to process it dynamically like this :
(a) create a list of patches. (easy)
(b) Iterate over patches and build 'patch-sets'. (stuck here!)
(c) copy over patches. (easy )

The plugin goal is reproduced below:

   
  
   
 trim="true">${list}


   INFO: Building Patch set for Patch ID : 
${patchID} 
  
   value="maven.assembler.patch.${patchID}.src" />
^^^  
^^^ (This is where I need nested expression, 
something like ${maven.assembler.patch.${patchID}.src}   )


   value="maven.assembler.patch.${patchID}.target" />   
^^^  
^
 
   

   value="${basedir}/release-packaging" />

   
   
  
   

   
 
 

  
   

   
 
 
  


 

 


Thanks in advance for any pointers. Appreciate it.

Cheers,

Rahul


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



Re: How to send build status in email...

2005-06-02 Thread dan tran
Scheduled Task i meant.  try that if you dont want to use CruiseControl

-D

On 6/2/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> Thanks Dan!
> 
> Is the Scheduletask same as Task Scheduler on windows? Pardon my
> ignorance about system-type files...I am just a beginner.
> 
> I found some documentation about task Scheduler which comes installed
> with most windows systems, I was wondering if this is the only option
> I have, if I dont want to use cruisecontrol.
> 
> Any suggestions?
> 
> S
> 
> dan tran <[EMAIL PROTECTED]> wrote:
> To schedule a job, use cron on unix or cron with cygwin on windows, or
> windows' scheduletask.
> 
> Regarding troubleshooting your goal, perhaps you should scale it down
> and debug from there, use maven's   -X option would also helps.
> 
> -D
> 
> On 6/2/05, Savitha Rajiv <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I was wondering if someone could help me with a couple of issues.
> >
> > I can't figure out a way to schedule builds once a month, or for
> that matter, to vary the build intervals.
> >
> > Also, my nightly-build goal defined in maven.xml is not building
> the JAR file or cleaning up the target directory. Here is my
> maven.xml. Any pointers will be greatly appreciated! Thanks!
> >
> >
> >  >
> > xmlns:j="jelly:core"
> >
> > xmlns:u="jelly:util"
> >
> > xmlns:maven="jelly:maven"
> >
> > xmlns:ant="jelly:ant">
> >
> >
> >
> > 
> >
> > 
> >
> > 
> >
> > BUILD DATE IS
> >
> > "${build.date}"
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> >  >
> > description="Nightly Build WizioTec">
> >
> > nightly-build
> >
> >
> >
> > 
> >
> >
> >
> > value="multiproject:goal,multiproject:clean,clean,clean-
> site,multiproject:site,site:deploy"
> >
> > />
> >
> > 
> >
> > 
> >
> >
> >
> > ${goals}
> >
> > 
> >
> >
> >
> > Now attaining goal number ${goalNumber}, which is ${goal}
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> > SENDING REPORTS VIA EMAIL
> >
> >  >
> > mailhost="mail.wiziotec.com" mailport="25"
> >
> > encoding="plain">
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> > compile
> >
> > 
> >
> > 
> >
> > test
> >
> > 
> >
> > 
> >
> > BUILDING JARS NOW
> >
> > 
> >
> > 
> >
> > Updating sources
> >
> > 
> >
> > 
> >
> >
> >
> >
> >
> > -
> > Yahoo! Mail Mobile
> >  Take Yahoo! Mail with you! Check email on your mobile phone.
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Re: How to send build status in email...

2005-06-02 Thread savitha

Thanks Dan!

Is the Scheduletask same as Task Scheduler on windows? Pardon my 
ignorance about system-type files...I am just a beginner.

I found some documentation about task Scheduler which comes installed 
with most windows systems, I was wondering if this is the only option 
I have, if I dont want to use cruisecontrol.

Any suggestions?

S

dan tran <[EMAIL PROTECTED]> wrote:
To schedule a job, use cron on unix or cron with cygwin on windows, or
windows' scheduletask.

Regarding troubleshooting your goal, perhaps you should scale it down 
and debug from there, use maven's   -X option would also helps.

-D

On 6/2/05, Savitha Rajiv <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I was wondering if someone could help me with a couple of issues.
> 
> I can't figure out a way to schedule builds once a month, or for 
that matter, to vary the build intervals.
> 
> Also, my nightly-build goal defined in maven.xml is not building 
the JAR file or cleaning up the target directory. Here is my 
maven.xml. Any pointers will be greatly appreciated! Thanks!
> 
> 
>  
> xmlns:j="jelly:core"
> 
> xmlns:u="jelly:util"
> 
> xmlns:maven="jelly:maven"
> 
> xmlns:ant="jelly:ant">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> BUILD DATE IS
> 
> "${build.date}"
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> description="Nightly Build WizioTec">
> 
> nightly-build
> 
> 
> 
> 
> 
> 
> 
> value="multiproject:goal,multiproject:clean,clean,clean-
site,multiproject:site,site:deploy"
> 
> />
> 
> 
> 
> 
> 
> 
> 
> ${goals}
> 
> 
> 
> 
> 
> Now attaining goal number ${goalNumber}, which is ${goal}
> 
> 
> 
> 
> 
> 
> 
> 
> 
> SENDING REPORTS VIA EMAIL
> 
>  
> mailhost="mail.wiziotec.com" mailport="25"
> 
> encoding="plain">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> compile
> 
> 
> 
> 
> 
> test
> 
> 
> 
> 
> 
> BUILDING JARS NOW
> 
> 
> 
> 
> 
> Updating sources
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -
> Yahoo! Mail Mobile
>  Take Yahoo! Mail with you! Check email on your mobile phone.
>

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





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



Re: How to send build status in email...

2005-06-02 Thread savitha

Thanks Dan!

Is the Scheduletask same as Task Scheduler on windows? Pardon my 
ignorance about system-type files...I am just a beginner.

I found some documentation about task Scheduler which comes installed 
with most windows systems, I was wondering if this is the only option 
I have, if I dont want to use cruisecontrol.

Any suggestions?

S

dan tran <[EMAIL PROTECTED]> wrote:
To schedule a job, use cron on unix or cron with cygwin on windows, or
windows' scheduletask.

Regarding troubleshooting your goal, perhaps you should scale it down 
and debug from there, use maven's   -X option would also helps.

-D

On 6/2/05, Savitha Rajiv <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I was wondering if someone could help me with a couple of issues.
> 
> I can't figure out a way to schedule builds once a month, or for 
that matter, to vary the build intervals.
> 
> Also, my nightly-build goal defined in maven.xml is not building 
the JAR file or cleaning up the target directory. Here is my 
maven.xml. Any pointers will be greatly appreciated! Thanks!
> 
> 
>  
> xmlns:j="jelly:core"
> 
> xmlns:u="jelly:util"
> 
> xmlns:maven="jelly:maven"
> 
> xmlns:ant="jelly:ant">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> BUILD DATE IS
> 
> "${build.date}"
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> description="Nightly Build WizioTec">
> 
> nightly-build
> 
> 
> 
> 
> 
> 
> 
> value="multiproject:goal,multiproject:clean,clean,clean-
site,multiproject:site,site:deploy"
> 
> />
> 
> 
> 
> 
> 
> 
> 
> ${goals}
> 
> 
> 
> 
> 
> Now attaining goal number ${goalNumber}, which is ${goal}
> 
> 
> 
> 
> 
> 
> 
> 
> 
> SENDING REPORTS VIA EMAIL
> 
>  
> mailhost="mail.wiziotec.com" mailport="25"
> 
> encoding="plain">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> compile
> 
> 
> 
> 
> 
> test
> 
> 
> 
> 
> 
> BUILDING JARS NOW
> 
> 
> 
> 
> 
> Updating sources
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -
> Yahoo! Mail Mobile
>  Take Yahoo! Mail with you! Check email on your mobile phone.
>

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





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



Re: How to send build status in email...

2005-06-02 Thread savitha

Eric,

Thanks! But we currently do not want to use Cruisecontrol. I am 
trying to figure out a way to set something up with maven without 
having to use CruiseControl. I have not found anything seaching the 
internet so far!

Savitha


"Maven Users List"  wrote:
Use CruiseControl


http://cruisecontrol.sf.net

- Eric

On Jun 2, 2005, at 4:03 AM, dan tran wrote:

> To schedule a job, use cron on unix or cron with cygwin on windows, 
or
> windows' scheduletask.
>
> Regarding troubleshooting your goal, perhaps you should scale it 
down
> and debug from there, use maven's   -X option would also helps.
>
> -D
>
> On 6/2/05, Savitha Rajiv <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I was wondering if someone could help me with a couple of issues.
>>
>> I can't figure out a way to schedule builds once a month, or for 
that  
>> matter, to vary the build intervals.
>>
>> Also, my nightly-build goal defined in maven.xml is not building 
the  
>> JAR file or cleaning up the target directory. Here is my 
maven.xml.  
>> Any pointers will be greatly appreciated! Thanks!
>>
>>
>> >
>> xmlns:j="jelly:core"
>>
>> xmlns:u="jelly:util"
>>
>> xmlns:maven="jelly:maven"
>>
>> xmlns:ant="jelly:ant">
>>
>>
>>
>> 
>>
>> 
>>
>> 
>>
>> BUILD DATE IS
>>
>> "${build.date}"
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> >
>> description="Nightly Build WizioTec">
>>
>> nightly-build
>>
>>
>>
>> 
>>
>>
>>
>> value="multiproject:goal,multiproject:clean,clean,clean- 
>> site,multiproject:site,site:deploy"
>>
>> />
>>
>> > value="update-project,compile,test,jar,send-report,site:generate"/>
>>
>> 
>>
>>
>>
>> ${goals}
>>
>> 
>>
>>
>>
>> Now attaining goal number ${goalNumber}, which is ${goal}
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> SENDING REPORTS VIA EMAIL
>>
>> >
>> mailhost="mail.wiziotec.com" mailport="25"
>>
>> encoding="plain">
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> compile
>>
>> 
>>
>> 
>>
>> test
>>
>> 
>>
>> 
>>
>> BUILDING JARS NOW
>>
>> 
>>
>> 
>>
>> Updating sources
>>
>> 
>>
>> 
>>
>>
>>
>>
>>
>> -
>> Yahoo! Mail Mobile
>>  Take Yahoo! Mail with you! Check email on your mobile phone.
>>
>
> 
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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





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



Re: How to send build status in email...

2005-06-02 Thread savitha

Eric,

Thanks! But we currently do not want to use Cruisecontrol. I am 
trying to figure out a way to set something up with maven without 
having to use CruiseControl. I have not found anything seaching the 
internet so far!

Savitha


"Maven Users List"  wrote:
Use CruiseControl


http://cruisecontrol.sf.net

- Eric

On Jun 2, 2005, at 4:03 AM, dan tran wrote:

> To schedule a job, use cron on unix or cron with cygwin on windows, 
or
> windows' scheduletask.
>
> Regarding troubleshooting your goal, perhaps you should scale it 
down
> and debug from there, use maven's   -X option would also helps.
>
> -D
>
> On 6/2/05, Savitha Rajiv <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I was wondering if someone could help me with a couple of issues.
>>
>> I can't figure out a way to schedule builds once a month, or for 
that  
>> matter, to vary the build intervals.
>>
>> Also, my nightly-build goal defined in maven.xml is not building 
the  
>> JAR file or cleaning up the target directory. Here is my 
maven.xml.  
>> Any pointers will be greatly appreciated! Thanks!
>>
>>
>> >
>> xmlns:j="jelly:core"
>>
>> xmlns:u="jelly:util"
>>
>> xmlns:maven="jelly:maven"
>>
>> xmlns:ant="jelly:ant">
>>
>>
>>
>> 
>>
>> 
>>
>> 
>>
>> BUILD DATE IS
>>
>> "${build.date}"
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> >
>> description="Nightly Build WizioTec">
>>
>> nightly-build
>>
>>
>>
>> 
>>
>>
>>
>> value="multiproject:goal,multiproject:clean,clean,clean- 
>> site,multiproject:site,site:deploy"
>>
>> />
>>
>> > value="update-project,compile,test,jar,send-report,site:generate"/>
>>
>> 
>>
>>
>>
>> ${goals}
>>
>> 
>>
>>
>>
>> Now attaining goal number ${goalNumber}, which is ${goal}
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> SENDING REPORTS VIA EMAIL
>>
>> >
>> mailhost="mail.wiziotec.com" mailport="25"
>>
>> encoding="plain">
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> compile
>>
>> 
>>
>> 
>>
>> test
>>
>> 
>>
>> 
>>
>> BUILDING JARS NOW
>>
>> 
>>
>> 
>>
>> Updating sources
>>
>> 
>>
>> 
>>
>>
>>
>>
>>
>> -
>> Yahoo! Mail Mobile
>>  Take Yahoo! Mail with you! Check email on your mobile phone.
>>
>
> 
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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





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



Re: [m2] Debug and Optimized JARs?

2005-06-02 Thread Brett Porter
Hi John,

On 5/28/05, John Fallows <[EMAIL PROTECTED]> wrote:
> Would it be a reasonable approach for individual developers to
> activate only the "debug" profile, while both "debug" and "optimized"
> profiles would be activated for the continuous integration build and
> for release builds?

Yes, this is there intention.

> Will Maven2 define any standard profiles, such as "debug" and
> "optimized", to avoid re-configuring every project with the various
> plugin property customization?  Or will there be an easy way to define
> these things once, even if they are not standardized?

This wasn't in the original design, but it is a reasonable feature
request to make, if you'd like to put it into JIRA.

Regards,
Brett

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



Re: [m2] Excluding dependencies from the runtime classpath

2005-06-02 Thread Brett Porter
Are these dependencies part of a JAR, or some other type?

There should definitely be a way to generically exclude - but if they
are not in a jar, then it won't be anyway. Maybe a zip is more useful
if it is not intended to be on the classpath and instead just be
extracted?

- Brett

On 6/3/05, Bart Selders <[EMAIL PROTECTED]> wrote:
> I have another reason for excluding dependencies from the classpath (m2).
> 
> I am currently using the concept to specify an external resource (for
> example a packaged CSS style library) as a dependency in my pom, and
> then using a plugin to process that resource - possibly extract it in my
> webapp. For that reason I need a way to tell that this dependency should
> *not* be included in any of the current scopes, as this dependency is
> not something for on the classpath.
> 
> This dependency is i.m.o. not part of the plugin; Rather I want the pom
> to specify/overrride which version of this resource must be used.
> 
> But may be you see a better solution for this use case...
> 
> Bart
> 
> 
> Jason van Zyl wrote:
> > On Thu, 2005-06-02 at 10:44 -0400, McGarr, Joseph M. wrote:
> >
> >>Thanks for the response.  To answer your questions plainly, yes, this
> >>happens to be a case where the container is providing the dependency at
> >>runtime.  So my resulting use case would be that I need a method to exclude
> >>a dependency from the runtime classpath, which means it should not be
> >>packaged with that dependency.  Do you need more information?
> >
> >
> > No that's great. This appears to be the case so far where people are
> > developing container applications and they need to compile artifacts
> > provided by the container environment but you obviously don't need to
> > bundle them.
> >
> >
> 
> 
> *
> The information contained in this communication is confidential and is
> intended solely for the use of the individual or entity to  whom it is
> addressed.You should not copy, disclose or distribute this communication
> without the authority of iBanx bv. iBanx bv is neither liable for
> the proper and complete transmission of the information has been maintained
> nor that the communication is free of viruses, interceptions or
> interference.
> 
> If you are not the intended recipient of this communication please return
> the communication to the sender and delete and destroy all copies.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



(m1) jelly swing frame doesn't show?

2005-06-02 Thread Harrison . Curtis
I have a couple questions with regard to using jelly:swing in a maven.xml.
I'm trying to bring up a GUI (Frame) to report missing required properties.
Embedded in the goal that is processing the properties is the following:

  

   
  
  
 
Missing Required Property: ${prop}

   
  
   
   
  
   

 
  
   
   
  
 
selected to shut down process due to missing
properties 
Shutdown build - Required properties
missing
 
  
   
   

${frame.setVisible(true)}
${frame.show()}
Shutdown build - ${size(missingProps)} required properties
missing
 
  .
  .
  .
  

I know I go through the frame and panel setup, but the Frame never shows.
Can I do this within a goal; expecting Maven to pause until the GUI is
closed?  I noticed that all the Jelly:Swing tests spawn off a separate java
process as shown below, is this what I need to do?

  

  
  

  

Thank you for your help,
Bud Curtis

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



Re: [m2] Artifact Ant Tasks and Packaging Dependencies

2005-06-02 Thread Brett Porter
I think it may only be in the development version, but at the request
of the Ant developers I have added "filesetId" to the task also, so
you could do:


  


If it isn't in alpha-2, it will be in the next release.

- Brett

On 6/3/05, McGarr, Joseph M. <[EMAIL PROTECTED]> wrote:
> Hi all:
> 
> I have a question about Maven2 Artifact Ant Tasks.  Once a dependency is
> defined using the artifact:dependencies tag, and a pathId, I can
> successfully compile and even test in Ant using that pathId as my classpath.
> But once it comes time to package the code into a war, how do I acquire
> those files from the pathId.  I realize that this may be more of an Ant
> question than a Maven question, but I have been unable to extract those jars
> from my local repository and package them in a war.  Does anybody have any
> ideas on this?
> 
> Thanks,
> Mike
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Re: [Maven 2] Exception when deploying

2005-06-02 Thread Brett Porter
It may be that /usr/local/maven-repository doesn't already exist?

- Brett

On 6/3/05, Sven Efftinge <[EMAIL PROTECTED]> wrote:
> Hi,
> first of all I would like to say that I like Maven 2. I've tested it for
> 2 days now and haven't had too much problems so far.
> At the moment I try to deploy a simple project to a repository using
> scp. Here is my pom:
> 
> 
>   4.0.0
>   de.lohndirekt
>   ikarus-business
>   jar
>   1.0-SNAPSHOT
>   Maven Quick Start
>   
> 
>   junit
>   junit
>   3.8.1
>   test
> 
>   
>   
> 
>   ld-repository
>   Lohndirekt Repository
>   scp://dev.lohndirekt.de/usr/local/maven-repository
>   daily
>   default
> 
>   
> 
> 
> Unfortunately I get the following Exception:
> 
> [INFO] [deploy:deploy]
> [INFO] Retrieving snapshot information for ikarus-business 1.0-SNAPSHOT
> Uploading:
> scp://dev.lohndirekt.de/usr/local/maven-repository/de/lohndirekt/ikar
> us-business/1.0-SNAPSHOT/ikarus-business-1.0-20050602.155108-1.jar
> [INFO]
> -
> ---
> [ERROR] BUILD ERROR
> [INFO]
> -
> ---
> [ERROR] Cause:
> org.apache.maven.plugin.MojoExecutionException: Error deploying artifact
> at
> org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:145)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(DefaultLifecycleExecutor.java:169)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:90)
> at
> org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:253)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:246)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
> at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
> Caused by:
> org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error
> deploying artifact:
> at
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:100)
> at
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:63)
> at
> org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:135)
> ... 14 more
> Caused by: org.apache.maven.wagon.TransferFailedException: Resource to
> deploy not found:
> at
> org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:192)
> at
> org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:96)
> at
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:86)
> ... 16 more
> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: scp:
> /usr/local/maven-repository/de/lohndirekt/ikarus-business/1.0-SNAPSHOT/ikarus-business-1.0-20050602.155108-1.jar:
> No such file or directory
> at
> org.apache.maven.wagon.providers.ssh.ScpWagon.checkAck(ScpWagon.java:646)
> at
> org.apache.maven.wagon.providers.ssh.ScpWagon.put(ScpWagon.java:298)
> at
> org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:160)
> ... 18 more
> 
> Any ideas?
> 
> regards,
> Sven
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



[Maven 2] Exception when deploying

2005-06-02 Thread Sven Efftinge

Hi,
first of all I would like to say that I like Maven 2. I've tested it for 
2 days now and haven't had too much problems so far.
At the moment I try to deploy a simple project to a repository using 
scp. Here is my pom:



 4.0.0
 de.lohndirekt
 ikarus-business
 jar
 1.0-SNAPSHOT
 Maven Quick Start
 
   
 junit
 junit
 3.8.1
 test
   
 
 
   
 ld-repository
 Lohndirekt Repository
 scp://dev.lohndirekt.de/usr/local/maven-repository
 daily
 default
   
 


Unfortunately I get the following Exception:

[INFO] [deploy:deploy]
[INFO] Retrieving snapshot information for ikarus-business 1.0-SNAPSHOT
Uploading: 
scp://dev.lohndirekt.de/usr/local/maven-repository/de/lohndirekt/ikar

us-business/1.0-SNAPSHOT/ikarus-business-1.0-20050602.155108-1.jar
[INFO] 
-

---
[ERROR] BUILD ERROR
[INFO] 
-

---
[ERROR] Cause:
org.apache.maven.plugin.MojoExecutionException: Error deploying artifact
   at 
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:145)
   at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(DefaultLifecycleExecutor.java:169)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:90)
   at 
org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:253)

   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:246)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:324)
   at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)

   at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
   at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)

   at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
Caused by: 
org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error 
deploying artifact:
   at 
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:100)
   at 
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:63)
   at 
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:135)

   ... 14 more
Caused by: org.apache.maven.wagon.TransferFailedException: Resource to 
deploy not found:
   at 
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:192)
   at 
org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:96)
   at 
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:86)

   ... 16 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: scp: 
/usr/local/maven-repository/de/lohndirekt/ikarus-business/1.0-SNAPSHOT/ikarus-business-1.0-20050602.155108-1.jar: 
No such file or directory
   at 
org.apache.maven.wagon.providers.ssh.ScpWagon.checkAck(ScpWagon.java:646)
   at 
org.apache.maven.wagon.providers.ssh.ScpWagon.put(ScpWagon.java:298)
   at 
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:160)

   ... 18 more

Any ideas?

regards,
Sven

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



[m2] Excluding dependencies from the runtime classpath

2005-06-02 Thread J. Michael McGarr
Hi all,

I have used Maven 1 in my free time and have been trying to migrate my 
client to the product as well. I have just started using M2 and like what I 
see but I have a few questions, the first of which is, how do I tell M2 to 
include a dependency only in the compile scope and not the runtime scope.

The details of the problem are I am building a war, but I do not want 
dependecies like the Servlet API to be bundled in the jar, since the 
application server will already provide this. Any suggestions? I am assuming 
that I have missed something.

Thanks,
Mike


Re: Two silly m2 questions

2005-06-02 Thread Brett Porter
JARs need to be in the repository.

You can install them using the following goal:
http://maven.apache.org/maven2/plugins/maven-install-plugin/install-file-mojo.html

- Brett

On 6/3/05, Logan Bowers <[EMAIL PROTECTED]> wrote:
> Brett,
> 
> Thanks for the quick response, but I have one more question: In m2, how
> do I include jars not in a repository?
> 
> Logan Bowers
> 
> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 01, 2005 4:14 PM
> To: Maven Users List
> Subject: Re: Two silly m2 questions
> 
> On 6/2/05, Logan Bowers <[EMAIL PROTECTED]> wrote:
> > 1)   Where is the source code?  I couldn't seem to find a link
> > anywhere on the Maven2 site.  Am I missing something obvious?
> 
> in subversion: http://svn.apache.org/repos/asf/maven/components/trunk
> 
> We will prepare source bundle releases from the betas onwards.
> 
> > 2)   I've setup a basic project using the tutorial, but when I run
> > "m2 package" to create a war, it wraps up all the .svn directories
> > (subversion metadata scattered throughout the source tree) too.  How
> do
> > I prevent this?
> 
> This was a bug that should have been fixed in alpha-2 (if not, it was
> done shortly afterwards and will be in the next release).
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Re: [1.1 snapshot] java.lang.NumberFormatException: For input string: ""

2005-06-02 Thread Brett Porter
You have a proxy host, but no proxy port. I'll fix the error reporting
right now.

- Brett

On 6/2/05, Jeff Jensen <[EMAIL PROTECTED]> wrote:
> I've been trying to get multiproject and jcoverage plugins working for a 
> couple
> of weeks without success.
> 
> Being at the end of my rope, I decided to try the 1.1 snapshot to see if it 
> made
> a difference.
> 
> I have a successful build (passed the unit test, etc.).  When I run it though,
> below is the output and error.  Does anyone recognize the problem?  I am 
> unable
> to determine what value is empty, and if it is a value in my config or in 
> Maven
> itself.
> 
> [snip]
> |_|  |_\__,_|\_/\___|_||_|  v. 1.1-SNAPSHOT
> 
> Attempting to download plexus-utils-1.0-alpha-1.jar.
> java.lang.NumberFormatException: For input string: ""
> at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
> at java.lang.Integer.parseInt(Integer.java:489)
> at java.lang.Integer.valueOf(Integer.java:574)
> at
> org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:323)
> at
> org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:282)
> at
> org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:173)
> at
> org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:99)
> at 
> org.apache.maven.project.Project.verifyDependencies(Project.java:567)
> at 
> org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:1116)
> at 
> org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:1161)
> at
> org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext(PluginManager.java:792)
> at 
> org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.java:747)
> at 
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:678)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> at org.apache.maven.cli.App.main(App.java:1258)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> 
> You have encountered an unknown error running Maven.
> [snip]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



RE: jcoverage.ser file: purpose & clean impact?

2005-06-02 Thread A. Shneyderman
Hmm, must be bug. Open a JIRA issue, I guess.

As an interim solution you might want to try do this:



 

In your maven.xml

-Original Message-
From: Jeff Jensen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 02, 2005 4:19 PM
To: Maven Users List
Subject: RE: jcoverage.ser file: purpose & clean impact?

Excellent point.  I was just surprised as the velocity.log file was cleaned
and it was not.  And by default it resides in ${basedir}, not something like
${maven.jcoverage.dir}.  Made me think it was a "special" file (like a cache
file) for reuse.

Additionally, I cannot get it to work!  I tried both of these

maven.jcoverage.merge.outputDir=${maven.jcoverage.dir}
maven.jcoverage.merge.outputDir=${maven.build.dir}/jcoverage

and the file is always written to ${basedir}.


Has anyone successfully used that property to change the output location?


Quoting Aleksandr Shneyderman <[EMAIL PROTECTED]>:

> I do not know what the purpose of jcoverage.ser file but you can tell 
> maven to instruct jcoverage to place it in your target by using 
> maven.jcoverage.merge.outputDir property, so when you do clean it will 
> remove the jcoverage.ser file too.
>
> Alex.
>
> > -Original Message-
> > From: Jeff Jensen [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, June 02, 2005 1:59 PM
> > To: Maven Users List
> > Subject: jcoverage.ser file: purpose & clean impact?
> >
> >
> > What is the jcoverage.ser file for, and why does "clean" not delete 
> > it?
> >
> > It was the entire cause of the JCoverage problems I've been looking 
> > at for 2 weeks...
> >
> > 
> > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




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



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



findbugs plugin runs JUnit tests, but findbugs does not

2005-06-02 Thread Jeff Jensen
Why does the findbugs plugin run the JUnit tests?  Is it supposed to?  The docs
on findbugs plugin do not say that it does.  And the findbugs product itself
(running it not with Maven) does not run JUnit tests.


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



RE: jcoverage.ser file: purpose & clean impact?

2005-06-02 Thread Jeff Jensen
Excellent point.  I was just surprised as the velocity.log file was cleaned and
it was not.  And by default it resides in ${basedir}, not something like
${maven.jcoverage.dir}.  Made me think it was a "special" file (like a cache
file) for reuse.

Additionally, I cannot get it to work!  I tried both of these

maven.jcoverage.merge.outputDir=${maven.jcoverage.dir}
maven.jcoverage.merge.outputDir=${maven.build.dir}/jcoverage

and the file is always written to ${basedir}.


Has anyone successfully used that property to change the output location?


Quoting Aleksandr Shneyderman <[EMAIL PROTECTED]>:

> I do not know what the purpose of jcoverage.ser file but you can tell
> maven to instruct jcoverage to place it in your target by using
> maven.jcoverage.merge.outputDir property, so when you do clean it will
> remove the jcoverage.ser file too.
>
> Alex.
>
> > -Original Message-
> > From: Jeff Jensen [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, June 02, 2005 1:59 PM
> > To: Maven Users List
> > Subject: jcoverage.ser file: purpose & clean impact?
> >
> >
> > What is the jcoverage.ser file for, and why does "clean" not
> > delete it?
> >
> > It was the entire cause of the JCoverage problems I've been
> > looking at for 2 weeks...
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




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



Re: How to send build status in email...

2005-06-02 Thread Eric Pugh

Use CruiseControl


http://cruisecontrol.sf.net

- Eric

On Jun 2, 2005, at 4:03 AM, dan tran wrote:


To schedule a job, use cron on unix or cron with cygwin on windows, or
windows' scheduletask.

Regarding troubleshooting your goal, perhaps you should scale it down
and debug from there, use maven's   -X option would also helps.

-D

On 6/2/05, Savitha Rajiv <[EMAIL PROTECTED]> wrote:

Hi,

I was wondering if someone could help me with a couple of issues.

I can't figure out a way to schedule builds once a month, or for that  
matter, to vary the build intervals.


Also, my nightly-build goal defined in maven.xml is not building the  
JAR file or cleaning up the target directory. Here is my maven.xml.  
Any pointers will be greatly appreciated! Thanks!













BUILD DATE IS

"${build.date}"













nightly-build







value="multiproject:goal,multiproject:clean,clean,clean- 
site,multiproject:site,site:deploy"


/>

value="update-project,compile,test,jar,send-report,site:generate"/>






${goals}





Now attaining goal number ${goalNumber}, which is ${goal}









SENDING REPORTS VIA EMAIL





















compile





test





BUILDING JARS NOW





Updating sources









-
Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.



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




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



RE: jcoverage.ser file: purpose & clean impact?

2005-06-02 Thread Aleksandr Shneyderman
I do not know what the purpose of jcoverage.ser file but you can tell
maven to instruct jcoverage to place it in your target by using
maven.jcoverage.merge.outputDir property, so when you do clean it will
remove the jcoverage.ser file too.

Alex.

> -Original Message-
> From: Jeff Jensen [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 02, 2005 1:59 PM
> To: Maven Users List
> Subject: jcoverage.ser file: purpose & clean impact?
> 
> 
> What is the jcoverage.ser file for, and why does "clean" not 
> delete it?
> 
> It was the entire cause of the JCoverage problems I've been 
> looking at for 2 weeks...
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



jcoverage.ser file: purpose & clean impact?

2005-06-02 Thread Jeff Jensen
What is the jcoverage.ser file for, and why does "clean" not delete it?

It was the entire cause of the JCoverage problems I've been looking at for 2
weeks...

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



Re: aspectj compile got error with Generic Type in java 5

2005-06-02 Thread Carlos Sanchez
Probably you need to use AspectJ 5 jar
There're some issues about that in JIRA
http://jira.codehaus.org/browse/MPASPECTJ

Try adding the aspectj 5 jar to your project.xml

On 6/2/05, Robert Nguyen <[EMAIL PROTECTED]> wrote:
>  
> 
> Hi Carlos, 
> I try to use maven:aspectj with my project. It is working fine if I am
> not declare generic data such as 
> 
> public List l = new ArrayList(); 
> 
> this will give me the error below. I also try to download aspectjrt 5, but
> it does not help. 
> 
> I did not know how to report his error through the website, so I send you
> and email instead. 
> 
> Is there anything I can do to get this issue resolve. 
> 
> Thanks, 
> Robert 
> 
> =
> aspectj:compile: 
> [iajc] ignored: -source 1.5 at 
> [warning] couldn't find aspectjrt.jar on classpath, checked: d:\Maven
> 1.0.2\lib\endorsed\xerces-2.4.0.jar;d:\Maven
> 1.0.2\lib\endorsed\xml-apis-1.0.b2.jar;C:\Program
> Files\Java\jdk1.5.0\jre\lib\rt.jar;C:\Program
> Files\Java\jdk1.5.0\jre\lib\i18n.jar;C:\Program
> Files\Java\jdk1.5.0\jre\lib\sunrsasign.jar;C:\Program
> Files\Java\jdk1.5.0\jre\lib\jsse.jar;C:\Program
> Files\Java\jdk1.5.0\jre\lib\jce.jar;C:\Program
> Files\Java\jdk1.5.0\jre\lib\charsets.jar;C:\Program
> Files\Java\jdk1.5.0\jre\classes;C:\Program
> Files\Java\jdk1.5.0\jre\lib\ext\dnsns.jar;C:\Program
> Files\Java\jdk1.5.0\jre\lib\ext\localedata.jar;C:\Program
> Files\Java\jdk1.5.0\jre\lib\ext\sunjce_provider.jar;C:\Program
> Files\Java\jdk1.5.0\jre\lib\ext\sunpkcs11.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\fitnesse\jars\fitnesse-20050405.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\hibernate\jars\hibernate-3.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\antlr\jars\antlr-2.7.4.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\dom4j\jars\dom4j-1.4.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\commons-collections\jars\commons-collections-2.1.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\commons-logging\jars\commons-logging-1.0.4.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\commons-el\jars\commons-el-1.0.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\commons-lang\jars\commons-lang-2.0.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\c3p0\jars\c3p0-0.9.0-pre3.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\log4j\jars\log4j-1.2.9.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\ehcache\jars\ehcache-1.1.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\jta\jars\jta-1.0.1B.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\commons-io\jars\commons-io-1.0.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\dbunit\jars\dbunit-2.1.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\dtdparser\jars\dtdparser-1.21.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\junit\jars\junit-3.8.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\mysql\jars\mysql-connector-java-3.0.10-stable-bin.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\cglib\jars\cglib-full-2.0.2.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\maverick\jars\maverick-all-1.0.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\commons-validator\jars\commons-validator-1.1.4.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\servletapi\jars\javax.servlet.jsp-1.0.jar;C:\Documents
> and
> Settings\rnguyen\.maven\repository\aspectj\jars\aspectjrt-1.2.jar;D:\eclipse\workspace\testaj\target\classes
> 
> 
> D:\eclipse\workspace\testaj\src\test\junit\LoginView.java:8
> [error] Syntax error on tokens, delete these tokens 
> public List l = new ArrayList(); 
>^^ 
> D:\eclipse\workspace\testaj\src\test\junit\LoginView.java:8
> [error] Syntax error on token "<", ( expected 
> public List l = new ArrayList(); 
>  
> D:\eclipse\workspace\testaj\src\test\junit\LoginView.java:8
> [error] Syntax error on token "(", invalid Expression 
> public List l = new ArrayList(); 
>  
> MessageHolder:  (1 warning)  (3 error) 
> [error   0]: error at public List l = new ArrayList(); 
>^^ 
> D:\eclipse\workspace\testaj\src\test\junit\LoginView.java:8:0
> Syntax error on tokens, delete these tokens 
> [error   1]: error at public List l = new ArrayList(); 
>  
> D:\eclipse\workspace\testaj\src\test\junit\LoginView.java:8:0
> Syntax error on token "<", ( expected 
> [error   2]: error at public List l = new ArrayList(); 
>  
> D:\eclipse\workspace\testaj\src\test\junit\LoginView.java:8:0
> Syntax error on token "(", invalid Expression 
>  
> 
> Robert Nguyen 
> Senior Software Engineer 
> Phone: 949.754.8401 
> 
> Quest Software 
> 8001 Irvine Center Drive 
> Irvine, CA 92618 
> www.Quest.com 
> N

RE: Two silly m2 questions

2005-06-02 Thread Logan Bowers
Brett, 

Thanks for the quick response, but I have one more question: In m2, how
do I include jars not in a repository?  

Logan Bowers

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 01, 2005 4:14 PM
To: Maven Users List
Subject: Re: Two silly m2 questions

On 6/2/05, Logan Bowers <[EMAIL PROTECTED]> wrote:
> 1)   Where is the source code?  I couldn't seem to find a link
> anywhere on the Maven2 site.  Am I missing something obvious?

in subversion: http://svn.apache.org/repos/asf/maven/components/trunk

We will prepare source bundle releases from the betas onwards.

> 2)   I've setup a basic project using the tutorial, but when I run
> "m2 package" to create a war, it wraps up all the .svn directories
> (subversion metadata scattered throughout the source tree) too.  How
do
> I prevent this?

This was a bug that should have been fixed in alpha-2 (if not, it was
done shortly afterwards and will be in the next release).


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



Re: Setting environment variables

2005-06-02 Thread dan tran
It seems like you want your application.dir to be a system property.

Here is is the jelly code to set it dynamically



${systemScope.setProperty(appDirVar, appDirValue)}



On 6/2/05, Michael van Leeuwen <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> In some subprojects of my multiproject environment, I need to specify
> an environment variable to correctly run the tests. This may vary
> among the subprojects.
> 
> Instead of running:
>  maven -Dapplication.dir=/path/to/project/subproject/test/resources
> I like to set the variable in my project.properties, use maven
> properties to determine the path and use a pregoal for test:test to
> set it.
> 
> Is this possible and if yes, how?
> Any other suggestions?
> 
> Regards,
> Michael.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Re: Mail service

2005-06-02 Thread Trygve Laugstøl
On Thu, Jun 02, 2005 at 06:04:51PM +0800, Merwin Yap wrote:
> Thanks. But could you send me a sample of it? Is it in the configuration tag
> part? 

It's documented here[1] under the section "Mail Notification". If anything
is unclear please let me know and I'll fix the documentation.

Basically you have to set  to your SMTP server.
Make sure that you're allowed to relay messages through this server.

[1]: http://maven.apache.org/continuum/configuration.html

--
Trygve


signature.asc
Description: Digital signature


Re: Multiproject & dashboard - dashboard runs "the hard way"

2005-06-02 Thread Jeff Jensen
Thanks for the reply Mike.  I will gladly try anything at this point!!  :-|

That change causes some type of recursion!  Before it crashes, there are 7
nested "multiproject" dirs under the subproject build dir.  And now nothing is
under the multiproject build dir.

Hmm, either using multiproject:site is not correct or this continues to point to
something configured incorrectly...

Any further thoughts very welcome!  Thanks!


Quoting Michael Niemaz <[EMAIL PROTECTED]>:

> Try to replace
>
> maven.multiproject.site.goals=site,dashboard:report-single
>
> with
>
> maven.multiproject.site.goals=multiproject:site,dashboard:report-single
>
>
> Hope this helps,
>
> --mike
>
> Jeff Jensen wrote:
>
> >I finally have dashboard report running by contradicting (per my
> interpretation)
> >the documentation.  All 3 of these settings must be this way to get it to
> run:
> >
> >maven.multiproject.site.goals=site,dashboard:report-single
> >
> >maven.dashboard.runreactor=true
> >maven.dashboard.rungoals=true
> >
> >
> >As expected and per the docs, dashboard runs all the Junit tests, etc. for
> its
> >report.  While this accomplishes getting dashboard run, the underlying
> problem
> >is still not solved.
> >
> >
> >For some reason, the "site" goal is not run on each subproject.  So the
> >subproject output (the html files in the end) needed for the multiproject
> >results to link to do not exist.
> >
> >
> >Can anyone explain this?  Does this point to a config error on my part, or
> >possibly a bug?
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




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



[m2] Artifact Ant Tasks and Packaging Dependencies

2005-06-02 Thread McGarr, Joseph M.
Hi all:

I have a question about Maven2 Artifact Ant Tasks.  Once a dependency is
defined using the artifact:dependencies tag, and a pathId, I can
successfully compile and even test in Ant using that pathId as my classpath.
But once it comes time to package the code into a war, how do I acquire
those files from the pathId.  I realize that this may be more of an Ant
question than a Maven question, but I have been unable to extract those jars
from my local repository and package them in a war.  Does anybody have any
ideas on this?

Thanks,
Mike

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



Re: Multiproject & dashboard - dashboard runs "the hard way"

2005-06-02 Thread Michael Niemaz

Try to replace

maven.multiproject.site.goals=site,dashboard:report-single

with

maven.multiproject.site.goals=multiproject:site,dashboard:report-single


Hope this helps,

--mike

Jeff Jensen wrote:


I finally have dashboard report running by contradicting (per my interpretation)
the documentation.  All 3 of these settings must be this way to get it to run:

maven.multiproject.site.goals=site,dashboard:report-single

maven.dashboard.runreactor=true
maven.dashboard.rungoals=true


As expected and per the docs, dashboard runs all the Junit tests, etc. for its
report.  While this accomplishes getting dashboard run, the underlying problem
is still not solved.


For some reason, the "site" goal is not run on each subproject.  So the
subproject output (the html files in the end) needed for the multiproject
results to link to do not exist.


Can anyone explain this?  Does this point to a config error on my part, or
possibly a bug?


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


 



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



Multiproject & dashboard - dashboard runs "the hard way"

2005-06-02 Thread Jeff Jensen
I finally have dashboard report running by contradicting (per my interpretation)
the documentation.  All 3 of these settings must be this way to get it to run:

maven.multiproject.site.goals=site,dashboard:report-single

maven.dashboard.runreactor=true
maven.dashboard.rungoals=true


As expected and per the docs, dashboard runs all the Junit tests, etc. for its
report.  While this accomplishes getting dashboard run, the underlying problem
is still not solved.


For some reason, the "site" goal is not run on each subproject.  So the
subproject output (the html files in the end) needed for the multiproject
results to link to do not exist.


Can anyone explain this?  Does this point to a config error on my part, or
possibly a bug?


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



Re: Maven 1.0.2 Proxy Problem

2005-06-02 Thread Michael
I successfully am using maven-proxy now and of course, my issues are
resolved.  One note - ther 0.1 release is missing from the
distribution site.  I had to use the snapshot release.

Thanks for the help.

-Michael

On 6/2/05, Nicolas Chalumeau <[EMAIL PROTECTED]> wrote:
> Hi Michael
> 
> 2005/6/2, Michael <[EMAIL PROTECTED]>:
> > Thanks for the tip.  I looked at using maven-proxy but was afraid of
> > the 0.1 release number.  What has your experience been using it?  Is
> > it ready for a "production" development environment?
> >
> 
> Here is my feed back. There is absolutly no problem in using
> maven-proxy for a "production" development environment. More over it
> hide the fact you can use mirror or multiple remote repository.
> 
> Nicolas
>

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



Re: [m2] Excluding dependencies from the runtime classpath

2005-06-02 Thread Bart Selders

I have another reason for excluding dependencies from the classpath (m2).

I am currently using the concept to specify an external resource (for 
example a packaged CSS style library) as a dependency in my pom, and 
then using a plugin to process that resource - possibly extract it in my 
webapp. For that reason I need a way to tell that this dependency should 
*not* be included in any of the current scopes, as this dependency is 
not something for on the classpath.


This dependency is i.m.o. not part of the plugin; Rather I want the pom 
to specify/overrride which version of this resource must be used.


But may be you see a better solution for this use case...

Bart


Jason van Zyl wrote:

On Thu, 2005-06-02 at 10:44 -0400, McGarr, Joseph M. wrote:


Thanks for the response.  To answer your questions plainly, yes, this
happens to be a case where the container is providing the dependency at
runtime.  So my resulting use case would be that I need a method to exclude
a dependency from the runtime classpath, which means it should not be
packaged with that dependency.  Do you need more information?



No that's great. This appears to be the case so far where people are
developing container applications and they need to compile artifacts
provided by the container environment but you obviously don't need to
bundle them.





* 
The information contained in this communication is confidential and is 
intended solely for the use of the individual or entity to  whom it is 
addressed.You should not copy, disclose or distribute this communication 
without the authority of iBanx bv. iBanx bv is neither liable for 
the proper and complete transmission of the information has been maintained 
nor that the communication is free of viruses, interceptions or 
interference. 

If you are not the intended recipient of this communication please return 
the communication to the sender and delete and destroy all copies. 


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



Maven Problem on Mac OSX

2005-06-02 Thread Marc Scheib

Please,

I am new in the usage of Maven, I use it for the sake of easy access 
towards an application called androMDA (www.andromda.org). Within the 
application of androMDA I came across an issue that somehow seems to 
relate to maven:


Due the automated build of a web application maven hangs at a certain 
point (I am still beginning to understand how the code generation in 
androMDA works, and therefore cannot tell exactly in which part of the 
process the error occurs). I did some research and found that other 
users of a JDK that comes with Mac OSX experience the same error. The 
discussion about the phenomenon and possible workarounds can be found 
here:


http://jira.codehaus.org/browse/MPLINKCHECK-3

Due my limited knowledge about Maven i would like to ask the Maven 
mailing list about the problem. I am curious to know if any of the 
workarounds described in that discussion could be applied to my 
configuration: androMDA uses Maven via a  Plugin.


If the discussion does not relate to my problem I would like to ask for 
hints or other strategies to bypass the error.


I am working on an ibook with Mac OSX 10.3.9 with a JDK 1.4.2-28 and 
Maven 1.0.2 installed.


Thank you in advance,
Marc



Re: [m2] Excluding dependencies from the runtime classpath

2005-06-02 Thread Eric Giguere

Hello guys
I would have a suggestion concerning this.
Right now, my uber-dist plugin allows that. In fact, its implemented the 
other way around. You specify using dependencies properties if this 
dependency must be deployed or not. If it is, you can override the 
deployment directory (so that it can be put in a sub-directory) and 
using another property, you can override its deployment name.


The use case...
When we have a project that is deployed on an existing framework, 
usually, your project will need the framework libraries to compile, but 
of course, you won't have to deploy those libraries since they are 
usually part of the framework uppon which your services will get 
installed. The frameword installation program takes care of putting all 
necessary files where they belong, and it will also (most of the time) 
indicate exactly where you must put your own libraries that extends its 
functionnalities.


There must be other situations but this one describes in the first place 
why I needed the new plugin.


Cheers!
Eric.

Jason van Zyl wrote:


On Thu, 2005-06-02 at 07:46 -0400, McGarr, Joseph M. wrote:
 


Hi all,

I have used Maven 1 in my free time and have been trying to migrate my
client to the product as well.  I have just started using M2 and like what I
see but I have a few questions, the first of which is, how do I tell M2 to
include a dependency only in the compile scope and not the runtime scope.

The details of the problem are I am building a war, but I do not want
dependencies like the Servlet API to be bundled in the jar, since the
application server will already provide this.  Any suggestions?  I am
assuming that I have missed something.
   



What's your specific use case? Does it happen to be a case where a
container provides the dependency at runtime?

We're trying to collect these use cases now as we're doing design and
implementing in this phase of development i.e. for the alpha-3 release.

 


Thanks,
Mike 



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


   





RE: [m2] Excluding dependencies from the runtime classpath

2005-06-02 Thread Jason van Zyl
On Thu, 2005-06-02 at 10:44 -0400, McGarr, Joseph M. wrote:
> Thanks for the response.  To answer your questions plainly, yes, this
> happens to be a case where the container is providing the dependency at
> runtime.  So my resulting use case would be that I need a method to exclude
> a dependency from the runtime classpath, which means it should not be
> packaged with that dependency.  Do you need more information?

No that's great. This appears to be the case so far where people are
developing container applications and they need to compile artifacts
provided by the container environment but you obviously don't need to
bundle them.

> 
> 
> -Original Message-
> From: Jason van Zyl [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 02, 2005 10:23 AM
> To: Maven Users List
> Subject: Re: [m2] Excluding dependencies from the runtime classpath
> 
> 
> On Thu, 2005-06-02 at 07:46 -0400, McGarr, Joseph M. wrote:
> > Hi all,
> > 
> > I have used Maven 1 in my free time and have been trying to migrate my
> > client to the product as well.  I have just started using M2 and like what
> I
> > see but I have a few questions, the first of which is, how do I tell M2 to
> > include a dependency only in the compile scope and not the runtime scope.
> > 
> > The details of the problem are I am building a war, but I do not want
> > dependencies like the Servlet API to be bundled in the jar, since the
> > application server will already provide this.  Any suggestions?  I am
> > assuming that I have missed something.
> 
> What's your specific use case? Does it happen to be a case where a
> container provides the dependency at runtime?
> 
> We're trying to collect these use cases now as we're doing design and
> implementing in this phase of development i.e. for the alpha-3 release.
> 
> > Thanks,
> > Mike 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

Simplex sigillum veri. (Simplicity is the seal of truth.)


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



RE: [m2] Excluding dependencies from the runtime classpath

2005-06-02 Thread McGarr, Joseph M.
Thanks for the response.  To answer your questions plainly, yes, this
happens to be a case where the container is providing the dependency at
runtime.  So my resulting use case would be that I need a method to exclude
a dependency from the runtime classpath, which means it should not be
packaged with that dependency.  Do you need more information?



-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 02, 2005 10:23 AM
To: Maven Users List
Subject: Re: [m2] Excluding dependencies from the runtime classpath


On Thu, 2005-06-02 at 07:46 -0400, McGarr, Joseph M. wrote:
> Hi all,
> 
> I have used Maven 1 in my free time and have been trying to migrate my
> client to the product as well.  I have just started using M2 and like what
I
> see but I have a few questions, the first of which is, how do I tell M2 to
> include a dependency only in the compile scope and not the runtime scope.
> 
> The details of the problem are I am building a war, but I do not want
> dependencies like the Servlet API to be bundled in the jar, since the
> application server will already provide this.  Any suggestions?  I am
> assuming that I have missed something.

What's your specific use case? Does it happen to be a case where a
container provides the dependency at runtime?

We're trying to collect these use cases now as we're doing design and
implementing in this phase of development i.e. for the alpha-3 release.

> Thanks,
> Mike 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org



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

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



Re: [m2] Excluding dependencies from the runtime classpath

2005-06-02 Thread Jason van Zyl
On Thu, 2005-06-02 at 07:46 -0400, McGarr, Joseph M. wrote:
> Hi all,
> 
> I have used Maven 1 in my free time and have been trying to migrate my
> client to the product as well.  I have just started using M2 and like what I
> see but I have a few questions, the first of which is, how do I tell M2 to
> include a dependency only in the compile scope and not the runtime scope.
> 
> The details of the problem are I am building a war, but I do not want
> dependencies like the Servlet API to be bundled in the jar, since the
> application server will already provide this.  Any suggestions?  I am
> assuming that I have missed something.

What's your specific use case? Does it happen to be a case where a
container provides the dependency at runtime?

We're trying to collect these use cases now as we're doing design and
implementing in this phase of development i.e. for the alpha-3 release.

> Thanks,
> Mike 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org



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



Re: Maven 1.0.2 Proxy Problem

2005-06-02 Thread Nicolas Chalumeau
Hi Michael

2005/6/2, Michael <[EMAIL PROTECTED]>:
> Thanks for the tip.  I looked at using maven-proxy but was afraid of
> the 0.1 release number.  What has your experience been using it?  Is
> it ready for a "production" development environment?
> 

Here is my feed back. There is absolutly no problem in using
maven-proxy for a "production" development environment. More over it
hide the fact you can use mirror or multiple remote repository.

Nicolas

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



[1.1 snapshot] java.lang.NumberFormatException: For input string: ""

2005-06-02 Thread Jeff Jensen
I've been trying to get multiproject and jcoverage plugins working for a couple
of weeks without success.

Being at the end of my rope, I decided to try the 1.1 snapshot to see if it made
a difference.

I have a successful build (passed the unit test, etc.).  When I run it though,
below is the output and error.  Does anyone recognize the problem?  I am unable
to determine what value is empty, and if it is a value in my config or in Maven
itself.

[snip]
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-SNAPSHOT

Attempting to download plexus-utils-1.0-alpha-1.jar.
java.lang.NumberFormatException: For input string: ""
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:489)
at java.lang.Integer.valueOf(Integer.java:574)
at
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:323)
at
org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:282)
at
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:173)
at
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:99)
at org.apache.maven.project.Project.verifyDependencies(Project.java:567)
at 
org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:1116)
at 
org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:1161)
at
org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext(PluginManager.java:792)
at 
org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.java:747)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:678)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:511)
at org.apache.maven.cli.App.main(App.java:1258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)

You have encountered an unknown error running Maven.
[snip]


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



Re: Maven 1.0.2 Proxy Problem

2005-06-02 Thread Michael
Thanks for the tip.  I looked at using maven-proxy but was afraid of
the 0.1 release number.  What has your experience been using it?  Is
it ready for a "production" development environment?

Is there any interest in adding a nonproxyhosts-like feature to maven
1?  I am thinking about adding support and submitting a patch but
http://jira.codehaus.org/browse/MAVEN-1372 makes me think this isn't a
feature wanted in m1.

Thanks,
Michael

On 6/1/05, Washusen, Dan <[EMAIL PROTECTED]> wrote:
> 
> We use Maven Proxy (http://maven-proxy.codehaus.org/) to get around
> these issues...
> 
> -Original Message-
> From: Michael [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 2 June 2005 9:41 AM
> To: users@maven.apache.org
> Subject: Maven 1.0.2 Proxy Problem
> 
> Is there an equivalent of m2's nonproxyhosts option in Maven 1?  I
> need to configure a proxy to access ibiblio but my internal repository
> cannot be accessed through the proxy.  I looked at the source for
> org.apache.maven.ArtifactDownloader but didn't see anything promising
> on this front.  Any ideas?
> 
> Thanks,
> Michael
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> www.about.sensis.com.au
> A leading Australian advertising, information and directories business.
> www.sensis.com.au
> www.yellowpages.com.au
> www.whitepages.com.au
> www.citysearch.com.au
> www.whereis.com.au
> www.telstra.com.au
> www.tradingpost.com.au
> This email and any attachments are intended only for the use of the recipient 
> and may be confidential and/or legally privileged.
> Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss 
> and/or damage arising from using, opening or transmitting this email.
> If you are not the intended recipient you must not use, interfere with, 
> disclose, copy or retain this email and you should notify the sender 
> immediately by return email or by contacting Sensis Pty Ltd by telephone on 
> [+61 3 8653 5000]
>

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



RE: Mevenide Error Running

2005-06-02 Thread Richardson, Simon (Treasury)
Sorry for the off topic nature I didn't realise there was a separate
mevenide list.

I have followed your link and decided to reinstalled the addin using the
Eclipse update manager.

Result => No more problems!

Thanks

Simon

> -Original Message-
> From: Gilles Dodinet [mailto:[EMAIL PROTECTED]
> Sent: 02 June 2005 13:10
> To: Maven Users List
> Subject: Re: Mevenide Error Running
> 
> 
> Simon,
> 
> mevenide user list is more approriate for such questions. however in 
> your conf i see :
> 
> Eclipse Version: 3.0.2
> 
> please see http://jira.codehaus.org/browse/MEVENIDE-135
> 
> regards,
> 
> -- gd
> 
> 
> 
> Richardson, Simon (Treasury) wrote:
> 
> >Apologies... I appear to be answering my own questions!
> >
> >The MAVEN_HOME environment variable *is required* and needs 
> to be set before
> >running a Maven build from Eclipse using the Mevenide 
> plugin.  I have now
> >removed the maven.home=c:\maven-1.0.2 from the External 
> Tools / Arguments
> >and my build now completes.  However ...
> >
> >Is still get an error launching the Maven build:
> >
> >!ENTRY org.eclipse.core.runtime 4 2 Jun 02, 2005 12:37:00.704
> >!MESSAGE An internal error occurred during: "Launching".
> >!STACK 0
> >java.lang.NoSuchMethodError:
> >org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsole
> Manager()Lorg/e
> >clipse/debug/internal/ui/views/console/ProcessConsoleManager;
> >  
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

"MMS " made the following annotations.
--
For more information on HBOS Treasury Services, please visit 
http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to 
http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes 
Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 
2692890. Registered in England.
Authorised and regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended for 
the addressee only. If you have received this message in error or there are any 
problems please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is strictly forbidden. This 
mail and any attachments have been scanned for viruses prior to leaving the 
HBOS Treasury Services plc network. HBOS Treasury Services plc will not be 
liable for direct, special, indirect or consequential damages arising from 
alteration of the contents of this message by a third party or as a result of 
any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail 
messages sent to and from this address for the purposes of investigating or 
detecting any unauthorised use of its system and ensuring its effective 
operation.
==


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



RE: Mevenide Error Running

2005-06-02 Thread Richardson, Simon (Treasury)
Sorry for the off topic nature I didn't realise there was a separate
mevenide list.

I have followed your link and decided to reinstalled the addin using the
Eclipse update manager.

Result => No more problems!

Thanks

Simon

> -Original Message-
> From: Gilles Dodinet [mailto:[EMAIL PROTECTED]
> Sent: 02 June 2005 13:10
> To: Maven Users List
> Subject: Re: Mevenide Error Running
> 
> 
> Simon,
> 
> mevenide user list is more approriate for such questions. however in 
> your conf i see :
> 
> Eclipse Version: 3.0.2
> 
> please see http://jira.codehaus.org/browse/MEVENIDE-135
> 
> regards,
> 
> -- gd
> 
> 
> 
> Richardson, Simon (Treasury) wrote:
> 
> >Apologies... I appear to be answering my own questions!
> >
> >The MAVEN_HOME environment variable *is required* and needs 
> to be set before
> >running a Maven build from Eclipse using the Mevenide 
> plugin.  I have now
> >removed the maven.home=c:\maven-1.0.2 from the External 
> Tools / Arguments
> >and my build now completes.  However ...
> >
> >Is still get an error launching the Maven build:
> >
> >!ENTRY org.eclipse.core.runtime 4 2 Jun 02, 2005 12:37:00.704
> >!MESSAGE An internal error occurred during: "Launching".
> >!STACK 0
> >java.lang.NoSuchMethodError:
> >org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsole
> Manager()Lorg/e
> >clipse/debug/internal/ui/views/console/ProcessConsoleManager;
> >  
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

"MMS " made the following annotations.
--
For more information on HBOS Treasury Services, please visit 
http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to 
http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes 
Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 
2692890. Registered in England.
Authorised and regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended for 
the addressee only. If you have received this message in error or there are any 
problems please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is strictly forbidden. This 
mail and any attachments have been scanned for viruses prior to leaving the 
HBOS Treasury Services plc network. HBOS Treasury Services plc will not be 
liable for direct, special, indirect or consequential damages arising from 
alteration of the contents of this message by a third party or as a result of 
any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail 
messages sent to and from this address for the purposes of investigating or 
detecting any unauthorised use of its system and ensuring its effective 
operation.
==


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



Re: Mevenide Error Running

2005-06-02 Thread Gilles Dodinet

Simon,

mevenide user list is more approriate for such questions. however in 
your conf i see :


Eclipse Version: 3.0.2

please see http://jira.codehaus.org/browse/MEVENIDE-135

regards,

-- gd



Richardson, Simon (Treasury) wrote:


Apologies... I appear to be answering my own questions!

The MAVEN_HOME environment variable *is required* and needs to be set before
running a Maven build from Eclipse using the Mevenide plugin.  I have now
removed the maven.home=c:\maven-1.0.2 from the External Tools / Arguments
and my build now completes.  However ...

Is still get an error launching the Maven build:

!ENTRY org.eclipse.core.runtime 4 2 Jun 02, 2005 12:37:00.704
!MESSAGE An internal error occurred during: "Launching".
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsoleManager()Lorg/e
clipse/debug/internal/ui/views/console/ProcessConsoleManager;
 




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



[m2] Excluding dependencies from the runtime classpath

2005-06-02 Thread McGarr, Joseph M.
Hi all,

I have used Maven 1 in my free time and have been trying to migrate my
client to the product as well.  I have just started using M2 and like what I
see but I have a few questions, the first of which is, how do I tell M2 to
include a dependency only in the compile scope and not the runtime scope.

The details of the problem are I am building a war, but I do not want
dependencies like the Servlet API to be bundled in the jar, since the
application server will already provide this.  Any suggestions?  I am
assuming that I have missed something.

Thanks,
Mike 


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



RE: Mevenide Error Running

2005-06-02 Thread Richardson, Simon (Treasury)
Apologies... I appear to be answering my own questions!

The MAVEN_HOME environment variable *is required* and needs to be set before
running a Maven build from Eclipse using the Mevenide plugin.  I have now
removed the maven.home=c:\maven-1.0.2 from the External Tools / Arguments
and my build now completes.  However ...

Is still get an error launching the Maven build:

!ENTRY org.eclipse.core.runtime 4 2 Jun 02, 2005 12:37:00.704
!MESSAGE An internal error occurred during: "Launching".
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsoleManager()Lorg/e
clipse/debug/internal/ui/views/console/ProcessConsoleManager;
at
org.mevenide.ui.eclipse.launch.configuration.MavenLaunchDelegate.launch(Mave
nLaunchDelegate.java:143)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfigurati
on.java:569)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.jav
a:788)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)


This is a genuine problem for me and I have no idea what course to follow.

My configuration is:
jsk j2sdk1.4.2_05
Eclipse Version: 3.0.2
Mevenide Config 0.7.0.
Mevenide Core   0.7.0
Mevenide Eclipse Help Plugin0.3.0
Mevenide Goals Grabber  0.8.0
Mevenide Grammar0.6.0
Mevenide UI 0.3.1

Regards

Simon

"MMS " made the following annotations.
--
For more information on HBOS Treasury Services, please visit 
http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to 
http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes 
Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 
2692890. Registered in England.
Authorised and regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended for 
the addressee only. If you have received this message in error or there are any 
problems please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is strictly forbidden. This 
mail and any attachments have been scanned for viruses prior to leaving the 
HBOS Treasury Services plc network. HBOS Treasury Services plc will not be 
liable for direct, special, indirect or consequential damages arising from 
alteration of the contents of this message by a third party or as a result of 
any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail 
messages sent to and from this address for the purposes of investigating or 
detecting any unauthorised use of its system and ensuring its effective 
operation.
==


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



RE: Mevenide Error Running

2005-06-02 Thread Richardson, Simon (Treasury)
Apologies... I appear to be answering my own questions!

The MAVEN_HOME environment variable *is required* and needs to be set before
running a Maven build from Eclipse using the Mevenide plugin.  I have now
removed the maven.home=c:\maven-1.0.2 from the External Tools / Arguments
and my build now completes.  However ...

Is still get an error launching the Maven build:

!ENTRY org.eclipse.core.runtime 4 2 Jun 02, 2005 12:37:00.704
!MESSAGE An internal error occurred during: "Launching".
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsoleManager()Lorg/e
clipse/debug/internal/ui/views/console/ProcessConsoleManager;
at
org.mevenide.ui.eclipse.launch.configuration.MavenLaunchDelegate.launch(Mave
nLaunchDelegate.java:143)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfigurati
on.java:569)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.jav
a:788)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)


This is a genuine problem for me and I have no idea what course to follow.

My configuration is:
jsk j2sdk1.4.2_05
Eclipse Version: 3.0.2
Mevenide Config 0.7.0.
Mevenide Core   0.7.0
Mevenide Eclipse Help Plugin0.3.0
Mevenide Goals Grabber  0.8.0
Mevenide Grammar0.6.0
Mevenide UI 0.3.1

Regards

Simon

"MMS " made the following annotations.
--
For more information on HBOS Treasury Services, please visit 
http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to 
http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes 
Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 
2692890. Registered in England.
Authorised and regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended for 
the addressee only. If you have received this message in error or there are any 
problems please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is strictly forbidden. This 
mail and any attachments have been scanned for viruses prior to leaving the 
HBOS Treasury Services plc network. HBOS Treasury Services plc will not be 
liable for direct, special, indirect or consequential damages arising from 
alteration of the contents of this message by a third party or as a result of 
any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail 
messages sent to and from this address for the purposes of investigating or 
detecting any unauthorised use of its system and ensuring its effective 
operation.
==


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



RE: Mevenide Error Running

2005-06-02 Thread Richardson, Simon (Treasury)
Some progress!

I've made a change to my Eclipse runtime "External Tools/Arguments" setup by
adding maven.home=c:\maven-1.0.2 and this has fixed the 'forehead.conf'
error but now I get a different error message. I'm surprised by this because
I do have my MAVEN_HOME set in my preferences (but not as an environment
variable before I run Eclipse).

Attempting to download junit-helper-1.0-SNAPSHOT.jar.
Artifact /junit-helper/jars/junit-helper-1.0-SNAPSHOT.jar doesn't exists in
remote repository, but it exists locally
javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.SAXParserFactoryImpl not found
at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:93)
at
org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:202)
at
org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180)

Regards

Simon

> -Original Message-
> From: Richardson, Simon (Treasury) 
> Sent: 02 June 2005 11:58
> To: 'users@maven.apache.org'
> Subject: Mevenide Error Running
> 
> 
> Please can somebody help resolve an issue I have running a build from
> Eclipse using Mevenide?
> 
> When I run a maven project from Eclipse using Mevenide I get 
> the following
> error message:
> 
> !ENTRY org.eclipse.core.runtime 4 2 Jun 02, 2005 11:51:44.845
> !MESSAGE An internal error occurred during: "Launching".
> !STACK 0
> java.lang.NoSuchMethodError:
> org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsoleM
> anager()Lorg/e
> clipse/debug/internal/ui/views/console/ProcessConsoleManager;
>   at
> org.mevenide.ui.eclipse.launch.configuration.MavenLaunchDelega
> te.launch(Mave
> nLaunchDelegate.java:143)
>   at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(Lau
> nchConfigurati
> on.java:569)
>   at
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(Deb
> ugUIPlugin.jav
> a:788)
>   at
> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugi
> n.java:955)
>   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
> 
> And in the console the following exception is reported.
> 
> Error reading configuration: 
> C:\eclipse3.0.2\eclipse\bin\forehead.conf (The
> system cannot find the path specified)
> 
> My configuration is:
> jsk   j2sdk1.4.2_05
> Eclipse   Version: 3.0.2
> Mevenide Config   0.7.0.
> Mevenide Core 0.7.0
> Mevenide Eclipse Help Plugin  0.3.0
> Mevenide Goals Grabber0.8.0
> Mevenide Grammar  0.6.0
> Mevenide UI   0.3.1
> 
> Regards
> 
> Simon
> 
> 
> > Simon Richardson
> > Technology
> > Tel: 020 7574 8838
> > E Mail: [EMAIL PROTECTED]
> > 
> > HBOS Treasury Services plc
> > 33 Old Broad Street
> > London
> > EC2N 1HZ
> > 
> 
> "MMS " made the following annotations.
> --
> 
> For more information on HBOS Treasury Services, please visit 
http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to
http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes
Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No.
2692890. Registered in England.
Authorised and regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended
for the addressee only. If you have received this message in error or there
are any problems please notify the originator immediately. The unauthorised
use, disclosure, copying or alteration of this message is strictly
forbidden. This mail and any attachments have been scanned for viruses prior
to leaving the HBOS Treasury Services plc network. HBOS Treasury Services
plc will not be liable for direct, special, indirect or consequential
damages arising from alteration of the contents of this message by a third
party or as a result of any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail
messages sent to and from this address for the purposes of investigating or
detecting any unauthorised use of its system and ensuring its effective
operation.

==


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


"MMS " made the following annotations.
--
For more information on HBOS Treasury Services, please visit 
http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to 
http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes 
Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 
2692890. Registe

RE: Mevenide Error Running

2005-06-02 Thread Richardson, Simon (Treasury)
Some progress!

I've made a change to my Eclipse runtime "External Tools/Arguments" setup by
adding maven.home=c:\maven-1.0.2 and this has fixed the 'forehead.conf'
error but now I get a different error message. I'm surprised by this because
I do have my MAVEN_HOME set in my preferences (but not as an environment
variable before I run Eclipse).

Attempting to download junit-helper-1.0-SNAPSHOT.jar.
Artifact /junit-helper/jars/junit-helper-1.0-SNAPSHOT.jar doesn't exists in
remote repository, but it exists locally
javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.SAXParserFactoryImpl not found
at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:93)
at
org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:202)
at
org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180)

Regards

Simon

> -Original Message-
> From: Richardson, Simon (Treasury) 
> Sent: 02 June 2005 11:58
> To: 'users@maven.apache.org'
> Subject: Mevenide Error Running
> 
> 
> Please can somebody help resolve an issue I have running a build from
> Eclipse using Mevenide?
> 
> When I run a maven project from Eclipse using Mevenide I get 
> the following
> error message:
> 
> !ENTRY org.eclipse.core.runtime 4 2 Jun 02, 2005 11:51:44.845
> !MESSAGE An internal error occurred during: "Launching".
> !STACK 0
> java.lang.NoSuchMethodError:
> org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsoleM
> anager()Lorg/e
> clipse/debug/internal/ui/views/console/ProcessConsoleManager;
>   at
> org.mevenide.ui.eclipse.launch.configuration.MavenLaunchDelega
> te.launch(Mave
> nLaunchDelegate.java:143)
>   at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(Lau
> nchConfigurati
> on.java:569)
>   at
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(Deb
> ugUIPlugin.jav
> a:788)
>   at
> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugi
> n.java:955)
>   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
> 
> And in the console the following exception is reported.
> 
> Error reading configuration: 
> C:\eclipse3.0.2\eclipse\bin\forehead.conf (The
> system cannot find the path specified)
> 
> My configuration is:
> jsk   j2sdk1.4.2_05
> Eclipse   Version: 3.0.2
> Mevenide Config   0.7.0.
> Mevenide Core 0.7.0
> Mevenide Eclipse Help Plugin  0.3.0
> Mevenide Goals Grabber0.8.0
> Mevenide Grammar  0.6.0
> Mevenide UI   0.3.1
> 
> Regards
> 
> Simon
> 
> 
> > Simon Richardson
> > Technology
> > Tel: 020 7574 8838
> > E Mail: [EMAIL PROTECTED]
> > 
> > HBOS Treasury Services plc
> > 33 Old Broad Street
> > London
> > EC2N 1HZ
> > 
> 
> "MMS " made the following annotations.
> --
> 
> For more information on HBOS Treasury Services, please visit 
http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to
http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes
Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No.
2692890. Registered in England.
Authorised and regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended
for the addressee only. If you have received this message in error or there
are any problems please notify the originator immediately. The unauthorised
use, disclosure, copying or alteration of this message is strictly
forbidden. This mail and any attachments have been scanned for viruses prior
to leaving the HBOS Treasury Services plc network. HBOS Treasury Services
plc will not be liable for direct, special, indirect or consequential
damages arising from alteration of the contents of this message by a third
party or as a result of any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail
messages sent to and from this address for the purposes of investigating or
detecting any unauthorised use of its system and ensuring its effective
operation.

==


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


"MMS " made the following annotations.
--
For more information on HBOS Treasury Services, please visit 
http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to 
http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes 
Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 
2692890. Registe

Mevenide Error Running

2005-06-02 Thread Richardson, Simon (Treasury)
Please can somebody help resolve an issue I have running a build from
Eclipse using Mevenide?

When I run a maven project from Eclipse using Mevenide I get the following
error message:

!ENTRY org.eclipse.core.runtime 4 2 Jun 02, 2005 11:51:44.845
!MESSAGE An internal error occurred during: "Launching".
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsoleManager()Lorg/e
clipse/debug/internal/ui/views/console/ProcessConsoleManager;
at
org.mevenide.ui.eclipse.launch.configuration.MavenLaunchDelegate.launch(Mave
nLaunchDelegate.java:143)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfigurati
on.java:569)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.jav
a:788)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

And in the console the following exception is reported.

Error reading configuration: C:\eclipse3.0.2\eclipse\bin\forehead.conf (The
system cannot find the path specified)

My configuration is:
jsk j2sdk1.4.2_05
Eclipse Version: 3.0.2
Mevenide Config 0.7.0.
Mevenide Core   0.7.0
Mevenide Eclipse Help Plugin0.3.0
Mevenide Goals Grabber  0.8.0
Mevenide Grammar0.6.0
Mevenide UI 0.3.1

Regards

Simon


> Simon Richardson
> Technology
> Tel: 020 7574 8838
> E Mail: [EMAIL PROTECTED]
> 
> HBOS Treasury Services plc
> 33 Old Broad Street
> London
> EC2N 1HZ
> 

"MMS " made the following annotations.
--
For more information on HBOS Treasury Services, please visit 
http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to 
http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes 
Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 
2692890. Registered in England.
Authorised and regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended for 
the addressee only. If you have received this message in error or there are any 
problems please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is strictly forbidden. This 
mail and any attachments have been scanned for viruses prior to leaving the 
HBOS Treasury Services plc network. HBOS Treasury Services plc will not be 
liable for direct, special, indirect or consequential damages arising from 
alteration of the contents of this message by a third party or as a result of 
any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail 
messages sent to and from this address for the purposes of investigating or 
detecting any unauthorised use of its system and ensuring its effective 
operation.
==


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



Mevenide Error Running

2005-06-02 Thread Richardson, Simon (Treasury)
Please can somebody help resolve an issue I have running a build from
Eclipse using Mevenide?

When I run a maven project from Eclipse using Mevenide I get the following
error message:

!ENTRY org.eclipse.core.runtime 4 2 Jun 02, 2005 11:51:44.845
!MESSAGE An internal error occurred during: "Launching".
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.debug.internal.ui.DebugUIPlugin.getProcessConsoleManager()Lorg/e
clipse/debug/internal/ui/views/console/ProcessConsoleManager;
at
org.mevenide.ui.eclipse.launch.configuration.MavenLaunchDelegate.launch(Mave
nLaunchDelegate.java:143)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfigurati
on.java:569)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.jav
a:788)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

And in the console the following exception is reported.

Error reading configuration: C:\eclipse3.0.2\eclipse\bin\forehead.conf (The
system cannot find the path specified)

My configuration is:
jsk j2sdk1.4.2_05
Eclipse Version: 3.0.2
Mevenide Config 0.7.0.
Mevenide Core   0.7.0
Mevenide Eclipse Help Plugin0.3.0
Mevenide Goals Grabber  0.8.0
Mevenide Grammar0.6.0
Mevenide UI 0.3.1

Regards

Simon


> Simon Richardson
> Technology
> Tel: 020 7574 8838
> E Mail: [EMAIL PROTECTED]
> 
> HBOS Treasury Services plc
> 33 Old Broad Street
> London
> EC2N 1HZ
> 

"MMS " made the following annotations.
--
For more information on HBOS Treasury Services, please visit 
http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to 
http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes 
Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 
2692890. Registered in England.
Authorised and regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended for 
the addressee only. If you have received this message in error or there are any 
problems please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is strictly forbidden. This 
mail and any attachments have been scanned for viruses prior to leaving the 
HBOS Treasury Services plc network. HBOS Treasury Services plc will not be 
liable for direct, special, indirect or consequential damages arising from 
alteration of the contents of this message by a third party or as a result of 
any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail 
messages sent to and from this address for the purposes of investigating or 
detecting any unauthorised use of its system and ensuring its effective 
operation.
==


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



Re: Mail service

2005-06-02 Thread Brett Porter

Hi Merwin,

Merwin Yap wrote:


Caused by: java.net.ConnectException: Connection refused: connect
 

I believe the default host to use is "localhost". This indicates you are 
not running a mail server on localhost (eg, if you are on windows, this 
is very rare).


Try setting the smtp-host to a machine that is listening for mail on 
port 25.



2.  I have a project that has parent project (composed of subproject A
and B) which I added to Continuum. Upon running, I saw that the sub-projects
were added to the list of Continuum projects but there was entry for the
parent project. Is this the expected result? The sub-projects did build and
return an OK status.  
 


Yep, that's correct behaviour.

- Brett



Mail service

2005-06-02 Thread Merwin Yap
Hi! I am using the alpha 2 version.  I’ve got a couple of questions: 

 

1.  Mail

 

-  What do I need to enable the mailing service of Continuum?  I
have the following snippet in the POM but I am getting an error.

 

POM snippet:

 

  

 continuum

 http://localhost:8080/continuum/servlet/continuum

 



   mail

   [EMAIL PROTECTED]

   



 

  

 

Console output:

 

Build event for project 'MerwinB':Goals completed. state: 2

Build event for project 'MerwinB':Build complete. state: 2

2005-06-02 16:10:52,498 [Thread-4] INFO  Notifier:mail  -
Sending message: From '"Co

[EMAIL PROTECTED]" <[EMAIL PROTECTED]>'.

2005-06-02 16:10:52,498 [Thread-4] INFO  Notifier:mail  -
Recipient: To '<[EMAIL PROTECTED]

.com>'.

2005-06-02 16:10:53,430 [Thread-4] WARN  NotificationDispatcher -
Error while sending notifi

cation.

org.codehaus.plexus.notification.NotificationException: Error while
notifiying.

at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotif
ication(MailC

ontinuumNotifier.java:177)

at
org.codehaus.plexus.notification.DefaultNotificationDispatcher.sendNotificat
ion(DefaultNo

tificationDispatcher.java:80)

at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatch
er.sendNotifi

action(DefaultContinuumNotificationDispatcher.java:128)

at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatch
er.sendNotifi

action(DefaultContinuumNotificationDispatcher.java:89)

at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatch
er.buildCompl

ete(DefaultContinuumNotificationDispatcher.java:77)

at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(Defa
ultBuildContr

oller.java:177)

at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeT
ask(BuildProj

ectTaskExecutor.java:50)

at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRu
nnable.run(Th

readedTaskQueueExecutor.java:100)

at java.lang.Thread.run(Thread.java:534)

Caused by: org.apache.maven.continuum.ContinuumException: Exception while
sending message.

at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessa
ge(MailContin

uumNotifier.java:340)

at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComp
lete(MailCont

inuumNotifier.java:261)

at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotif
ication(MailC

ontinuumNotifier.java:172)

... 8 more

Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error while
sending mail.

at
org.codehaus.plexus.mailsender.simple.SimpleMailSender.send(SimpleMailSender
.java:118)

at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessa
ge(MailContin

uumNotifier.java:336)

... 10 more

Caused by: java.net.ConnectException: Connection refused: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)

at java.net.Socket.connect(Socket.java:452)

at java.net.Socket.connect(Socket.java:402)

at java.net.Socket.(Socket.java:309)

at java.net.Socket.(Socket.java:124)

at
org.codehaus.plexus.mailsender.simple.SimpleMailMessage.connect(SimpleMailMe
ssage.java:42

0)

at
org.codehaus.plexus.mailsender.simple.SimpleMailMessage.(SimpleMailMes
sage.java:202

)

at
org.codehaus.plexus.mailsender.simple.SimpleMailSender.send(SimpleMailSender
.java:75)

... 11 more

 

 

2.  I have a project that has parent project (composed of subproject A
and B) which I added to Continuum. Upon running, I saw that the sub-projects
were added to the list of Continuum projects but there was entry for the
parent project. Is this the expected result? The sub-projects did build and
return an OK status.  

 

 

Thanks!

 

Regards, 

Merwin


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 6/1/2005
 


Maven Artifact Plugin RC1 available for testing

2005-06-02 Thread Brett Porter

Hi,

A release candidate of the Maven Artifact Plugin is now available for 
testing.


 Changes:
o Wholly resolve the POM before deploying
 Issue: MPARTIFACT-49.
o Deploy anything with SNAPSHOT in the version as a snapshot
 Issue: MPARTIFACT-19.
o Deprecated install-snapshot and deploy-snapshot goals
o Replace bulk of code with Wagon
 Issue: MAVEN-1396.

 Removed features:

o Remove deprecated old deployment method

To automatically install the plugin, type the following on a single line:

maven plugin:download
 -DgroupId=maven
 -DartifactId=maven-artifact-plugin
 -Dversion=1.5-rc1
 -Dmaven.repo.remote=http://cvs.apache.org/repository

For a manual installation, you can download the plugin here:
http://cvs.apache.org/repository/maven/plugins/maven-artifact-plugin-1.5-rc1.jar

Thanks,
Brett


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



Setting environment variables

2005-06-02 Thread Michael van Leeuwen
Hi,

In some subprojects of my multiproject environment, I need to specify
an environment variable to correctly run the tests. This may vary
among the subprojects.

Instead of running: 
  maven -Dapplication.dir=/path/to/project/subproject/test/resources
I like to set the variable in my project.properties, use maven
properties to determine the path and use a pregoal for test:test to
set it.

Is this possible and if yes, how?
Any other suggestions?

Regards,
Michael.

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



Tracing maven goals

2005-06-02 Thread Michael Niemaz

Hi all,
   I've been subclassing many goals for my sub-projects project to 
create distributions as I wanted.


Now that it works, it looks like many goals are done several times. I 
wonder if there was an easy way to trace the goals it was going through 
during or after the compilation, other than scrolling up the shell of 
course ;-)


Thanx,

--mike

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



Re: Adding post-build httpunit tests

2005-06-02 Thread Anatol Pomozov
You can use Cargo (cargo.codehaus.org) for that.

On 6/1/05, Akins, Greg <[EMAIL PROTECTED]> wrote:
> I'd like to run HTTPUnitTests after a war is deployed to perform a
> smoke-test against a built & deployed web application.
> 
> I would guess that a postGoal that contains the Ant tasks to run the
> tests?
> 
> Any better way?
> 
> Greg Akins
> Software Engineer
> Sony Electronics, STP Systems
> 724.696.7322 (Sony)
> 724.696.6147 (AV)
> 724.454.7790 (Cell)
> 412.590.3973 (Pager)
> 
> 
> 


-- 
anatol

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



Re: How to send build status in email...

2005-06-02 Thread dan tran
To schedule a job, use cron on unix or cron with cygwin on windows, or
windows' scheduletask.

Regarding troubleshooting your goal, perhaps you should scale it down 
and debug from there, use maven's   -X option would also helps.

-D

On 6/2/05, Savitha Rajiv <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I was wondering if someone could help me with a couple of issues.
> 
> I can't figure out a way to schedule builds once a month, or for that matter, 
> to vary the build intervals.
> 
> Also, my nightly-build goal defined in maven.xml is not building the JAR file 
> or cleaning up the target directory. Here is my maven.xml. Any pointers will 
> be greatly appreciated! Thanks!
> 
> 
>  
> xmlns:j="jelly:core"
> 
> xmlns:u="jelly:util"
> 
> xmlns:maven="jelly:maven"
> 
> xmlns:ant="jelly:ant">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> BUILD DATE IS
> 
> "${build.date}"
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> description="Nightly Build WizioTec">
> 
> nightly-build
> 
> 
> 
> 
> 
> 
> 
> value="multiproject:goal,multiproject:clean,clean,clean-site,multiproject:site,site:deploy"
> 
> />
> 
>  value="update-project,compile,test,jar,send-report,site:generate"/>
> 
> 
> 
> 
> 
> ${goals}
> 
> 
> 
> 
> 
> Now attaining goal number ${goalNumber}, which is ${goal}
> 
> 
> 
> 
> 
> 
> 
> 
> 
> SENDING REPORTS VIA EMAIL
> 
>  
> mailhost="mail.wiziotec.com" mailport="25"
> 
> encoding="plain">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> compile
> 
> 
> 
> 
> 
> test
> 
> 
> 
> 
> 
> BUILDING JARS NOW
> 
> 
> 
> 
> 
> Updating sources
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -
> Yahoo! Mail Mobile
>  Take Yahoo! Mail with you! Check email on your mobile phone.
>

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



scheduling build intervals, and jar issue...

2005-06-02 Thread Savitha Rajiv
Hi,
 
I was wondering if someone could help me with a couple of issues. 
 
I can't figure out a way to schedule builds once a month, or for that matter, 
to vary the build intervals.

Also, my nightly-build goal defined in maven.xml is not building the JAR file 
or cleaning up the target directory. Here is my maven.xml. Any pointers will be 
greatly appreciated! Thanks!
 



 







BUILD DATE IS

"${build.date}" 













nightly-build







value="multiproject:goal,multiproject:clean,clean,clean-site,multiproject:site,site:deploy"
 

/>







${goals}





Now attaining goal number ${goalNumber}, which is ${goal}









SENDING REPORTS VIA EMAIL





 







 







compile





test





BUILDING JARS NOW





Updating sources








-
Discover Yahoo!
 Stay in touch with email, IM, photo sharing & more. Check it out!

Re: How to send build status in email...

2005-06-02 Thread Savitha Rajiv
Hi,
 
I was wondering if someone could help me with a couple of issues. 
 
I can't figure out a way to schedule builds once a month, or for that matter, 
to vary the build intervals.

Also, my nightly-build goal defined in maven.xml is not building the JAR file 
or cleaning up the target directory. Here is my maven.xml. Any pointers will be 
greatly appreciated! Thanks!
 



 







BUILD DATE IS

"${build.date}" 













nightly-build







value="multiproject:goal,multiproject:clean,clean,clean-site,multiproject:site,site:deploy"
 

/>







${goals}





Now attaining goal number ${goalNumber}, which is ${goal}









SENDING REPORTS VIA EMAIL





 







 







compile





test





BUILDING JARS NOW





Updating sources





 



-
Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.

maven+cactus (Couldn't find tools.jar (needed for JSP compilation))

2005-06-02 Thread sheep
hi all
have someone meet this problem  (Couldn't find tools.jar (needed for JSP 
compilation))  when use maven+cactus  when execute maven cactus:test
//---
cactus:test-war:
[cactus] -
[cactus] Running tests against Tomcat 5.5.7
[cactus] -
[cactus] Deleting 4 files from 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cactus\tomcat5x
[cactus] Deleted 2 directories from 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cactus\tomcat5x
[cactus] Couldn't find tools.jar (needed for JSP compilation)
Exception in thread "Thread-0" You must either set location or path on 

 at org.apache.tools.ant.types.Path.list(Path.java:309)
 at org.apache.tools.ant.types.Path.list(Path.java:320)
 at org.apache.tools.ant.types.Path.addExisting(Path.java:260)
 at org.apache.tools.ant.types.Path.concatSystemClasspath(Path.java:551)
 at org.apache.tools.ant.types.CommandlineJava.size(CommandlineJava.java:346)
 at 
org.apache.tools.ant.types.CommandlineJava.getCommandline(CommandlineJava.java:248)
 at 
org.apache.tools.ant.types.CommandlineJava.describeCommand(CommandlineJava.java:311)
 at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:138)
 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
 at 
org.apache.cactus.integration.ant.container.tomcat.AbstractCatalinaContainer.invokeBootstrap(AbstractCatalinaContainer.java:166)
 at 
org.apache.cactus.integration.ant.container.tomcat.Tomcat5xContainer.startUp(Tomcat5xContainer.java:59)
 at 
org.apache.cactus.integration.ant.container.ContainerRunner$1.run(ContainerRunner.java:140)
 at java.lang.Thread.run(Unknown Source)