OK
-----Message d'origine-----
De : Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Envoy� : vendredi 7 novembre 2003 17:50
� : Maven Users List
Objet : Rep:scm:perform-release
Could you add an issue into Jira? I fixed this asap.
Emmanuel
-----Message d'origine-----
De: "Eric Taix" <[EMAIL PROTECTED]>
A: "[EMAIL PROTECTED] Apache. Org (E-mail)" <[EMAIL PROTECTED]>
Date: 07/11/03
Objet: scm:perform-release
Hi,
>Windows 2K
>maven-1.0rc1
I'm trying to use scm:perform-release goal. The checkout work fine, but
when maven try to create a new process for the "perform" goal i've got a
build failed. I try with the most simple goal : "clean" and it also
failed.
Here is my command line :
maven -Dmaven.scm.bootstrap.goal=clean -Dmaven.scm.cvs.module=module1
-Dmaven.scm.cvs.sticky.tag=tag1 scm:perform-release
And here is the console output :
BUILD FAILED
File
file/D:/BuildSystem/tools/maven-1.0-rc1/plugins/maven-scm-plugin-1.1/
Element ant:exec
Line 154
Error 2
I try to find what can be the root of this error and i think i found.
In maven-scm-plugin-1.1 the jelly script use this ant tag :
<ant:exex dir=${maven.scm.checkout.dir}/${maven.scm.cvs.module}"
executable="maven" failonerror="true">
<ant:arg line="${maven.scm.bootstrap.goals}"/>
</ant:exec>
The Ant exec error n�2 is when executable can't be found. In fact on
Windows system a "bat" file can be lauch by just "maven" (.bat is
optionnal). But with Ant you have to specify the extension of your file.
In maven distribution there is a "maven" file for unix and "maven.bat"
for windows.
So on windows i have to change executable="maven" by
executable="maven.bat"[Eric Taix] and it work fine...
Hope this can help you and perhaps there's a better solution
Eric T.
_____________________________________________________________________
Un mot doux � envoyer? Une sortie cin� � organiser? Faites le en temps
r�el avec MSN Messenger! C'est gratuit! http://ifrance.com/_reloc/m
_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France
---------------------------------------------------------------------
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]