We wanted to be able to test the latest SNAPSHOT version before we use it. This 
decision came after we hit a few minor problems with the bleeding edge SNAPSHOT 
(Yes, those problems were fixed incredibly rapidly, but still ...). Here is 
what we do, I hope it can be useful to somebody else :



We have the following script to download all the jars / plugins / ... and put 
it in our own Maven repository.

#!/bin/bash



MAVEN_REPO=/var/www/maven

ANDROMDA_VERSION=3.1-RC1-SNAPSHOT

ANDROMDA_SITE=http://team.andromda.org/maven/andromda/

EXCLUDE_DIR=/maven/andromda/distributions,/maven/andromda/samples

WGET_OPTS="-cvr -nH --cut-dirs=1"

WGET_OPTS="${WGET_OPTS} -A "*${ANDROMDA_VERSION}*" 
-X${EXCLUDE_DIR}"

WGET_OPTS="${WGET_OPTS} -P ${MAVEN_REPO}"



DATE=`date +%Y%m%d%H%M`



wget ${WGET_OPTS} ${ANDROMDA_SITE}



find ${MAVEN_REPO}/andromda -exec rename 
"s/SNAPSHOT/${DATE}/" {} ;



We modified the $PROJECT/build.properties to use the specific AndroMDA version :

andromda.version=3.1-RC1-200506220909



We wanted to keep using the latest SNAPSHOT for CruiseControl, so override the 
AndroMDA version on the CruiseControl server by having the following line in 
$HOME/build.properties :

andromda.version=3.1-RC1-SNAPSHOT



Now, I still have :

multiproject:install-callback:

    [echo] Running pom:install for SIEMS MDA

Attempting to download andromda-core-3.1-RC1-SNAPSHOT.jar.

201K downloaded

Attempting to download andromda-ant-task-3.1-RC1-SNAPSHOT.jar.

2K downloaded

Attempting to download andromda-metafacades-uml-3.1-RC1-SNAPSHOT.jar.

40K downloaded

Attempting to download andromda-metafacades-uml14-3.1-RC1-SNAPSHOT.jar.

265K downloaded

Attempting to download andromda-repository-mdr-3.1-RC1-SNAPSHOT.jar.

10K downloaded

Attempting to download andromda-templateengine-velocity-3.1-RC1-SNAPSHOT.jar.

7K downloaded

Attempting to download andromda-ocl-translation-core-3.1-RC1-SNAPSHOT.jar.

420K downloaded

Attempting to download andromda-ocl-validation-library-3.1-RC1-SNAPSHOT.jar.

25K downloaded

Attempting to download andromda-maven-core-3.1-RC1-SNAPSHOT.jar.

[...]



So I probably missed something somewhere ... I tried a "grep -R" on all the 
project, but the only references to "SNAPSHOT" that I found are in the eclipse 
".classpath" files ... What am I missing ?
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1634#1634
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to