Re: Cruisecontrol build and mail queries

vck <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
I tried doing this, but it throws an OutOfMemory exception.

I get the out of mem exception when I run the foll :
$ mvn -e -Dversion=1 -Dmaven_repo=/xxx/mavenrepository -DMAVEN_OPTS=-Xmx128M
clean install
Also tried changing the mem to -Xmx768M..

However, I have a script which does the foll

export maven_repo=/xxx/mavenrepository
export version=1
export MAVEN_OPTS=-Xmx768M
export PATH=/xxx/j2sdk1.4.2_18/bin/:${PATH}

When I run the script to set the env props, and then run a "mvn clean
install" things run fine.

Any pointers?

thanks!


On Thu, Mar 26, 2009 at 10:51 PM, Pankaj Agarwal <[email protected]>wrote:

>
> You can define the javac location in the maven compile plugin configuration
>
> -Pankaj
>
>
>
> On Mar 25, 2009, at 11:49 PM, vck <[email protected]> wrote:
>
> Folks,
>
> I have a couple of questions :
>
> 1) Am using cc with java1.5 and I have configured a project to automate the
> build process. My project is using 1.4.2 and maven. So when I try to build
> the project, it builds using java 1.5. Is there someway I can override this
> ?
>
> As a workaround, I have created a script that sets the path and calls "mvn
> clean install" and am using it within the <exec>.
> But thats not what I want. I want to use the <maven2> builder of cc. I have
> also tried a few stupid things like setting the project properties.
> <property name="env.PATH" value="${PATH}"/>
> <property name="JAVA_HOME" value="/mypath/j2sdk1.4.2_18/"/>
>
>
> 2) I have set up a schedule time for my project to perform a nightly
> checkout and build. Now I need to see a mail after each build which lists
> the users who have checked in code after the prev nightly build and the
> files they have checked in.
> Is there any way to accomplish this?
>
>
> Appreciate your time and response.
>
> TIA
> ~v
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.