It's unlikely the commit message is the problem (it's set to
deleteOnExit, so it might be disappearing before you can catch it).
What error do you get?
Where are you referring to ${user.home} being populated in the script below?
Note that, at present, the SCM Wagon is highly experimental and not
recommended for production use.
- Brett
On 1/5/06, Darren Hartford <[EMAIL PROTECTED]> wrote:
> Hey all,
> I'm trying to setup to install jars to a remote SVN repository.
> Everything seems to be fine except for three issues which may be
> specific to Windows OS:
>
> *${user.home} never seems to populate.
> *some of the directory slashes are forward (hasn't been an issue yet
> though).
> **the commit message file never gets created (this is a show-stopper as
> stops the commit).
>
> The exec command that breaks with the commit message file looks like
> this:
> ==============
> svn --username blahu --password blahp --non-interactive commit --file
> C:\DOCUME~1\DHARTF~1\LOCALS~1\Temp\maven-scm-697025419.commit
> ${user.home}/.m2/repository/group/artifact/version/artifact-version.jar
> ==============
> And the file for
> C:\DOCUME~1\DHARTF~1\LOCALS~1\Temp\maven-scm-697025419.commit never gets
> created (was watching the dir and never happens). When I go through the
> exec commands manually but replace the commit message file with a known
> file, things seem to work fine.
>
> The build.xml looks like this (pom refid previously setup, using the
> maven-artifact-ant):
> =============
> <target name="install-remote-repo"
> description="Share the previously-packaged jar by installing to
> the shared remote repository.">
> <artifact:install-provider artifactId="wagon-scm"
> version="1.0-alpha-5"/>
>
> <artifact:deploy
> file="${pom.build.outputDirectory}/../${pom.artifactId}-${pom.version}.j
> ar">
> <remoteRepository
> url="scm:svn:http://myserver/svnroot/repository">
> <authentication username="blahu" password="blahp" />
> </remoteRepository>
> <pom refid="pom"/>
> </artifact:deploy>
> </target>
> ===============
>
> Any ideas regarding this commit-message file, if this is truly what's
> stopping progression?
>
> Thanks,
> -D
>
> ---------------------------------------------------------------------
> 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]