openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: OpenJPA snapshots
Date Tue, 28 Aug 2007 23:20:54 GMT
Hi Patrick,

I think you might need a few more "\" to connect the mvn command line  
fragments.

Aside from that, I have no idea if this will work.

Craig

On Aug 28, 2007, at 4:04 PM, Patrick Linskey wrote:

> Hi,
>
> It looks like the nightly builds are not coming from trunk anymore.
> Additionally, currently, the snapshots are built and uploaded from
> Marc's laptop, and I don't think that he'll have very good
> connectivity while he's on vacation.
>
> So, I'm planning to set up a job that runs the following script,
> triggered by checkins. Is there anything else that I should be putting
> in the script? Will this cause the snapshot to be uploaded to the
> "right" location?
>
> #!/bin/sh
> export MAVEN_OPTS=-Xmx512m
> export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
> export PATH=$PATH:$HOME/bin/scripts/maven-2.0.7/bin
> dir=/tmp/openjpa-snapshot-$$
> mkdir -p $dir
> cd $dir
> svn co https://svn.apache.org/repos/asf/openjpa/trunk .
> mvn --batch-mode package
> -Djava14.jar=/usr/lib/jvm/j2sdk1.4.2_15/jre/lib/rt.jar && \
>     mvn --batch-mode install -Pexamples-profile,tck-profile && \
>     mvn --batch-mode deploy -Duser.name=pcl
> -Ptest-derby,javadoc-profile,docbook-profile,sign-release -Dtest=false
> && cd /tmp && rm -rf $dir
>
> -Patrick
>
> -- 
> Patrick Linskey
> 202 669 5907

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message