Release FileNotFoundException?

2007-08-29 Thread Christiaan Veerman

Hello:

I am using the latest and greatest continuum version 
(continuum-plexus-runtime-1.1-beta-2-bin.tar).


I cannot find any documentation for releasing artifacts (release parameters, 
etc.).


I tried using a basic pom.xml

e.g.

http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>

   4.0.0
   media
   service-provider
   jar
   0.10-SNAPSHOT
   Service Provider
   
   media
   parent
   0.15
   
   
   
scm:svn:http://svn.somehost.com/trunk/workspace/component/service-provider
   
scm:svn:http://svn.somehost.com/trunk/workspace/component/service-provider
   
http://viewvc.somehost.com/viewvc/trunk/workspace/component/service-provider

   


It builds successfully... but which I try to release:prepare I receive the 
following exception:


   java.io.FileNotFoundException: 1\pom.xml (The system cannot find the 
path specified)

at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at java.io.FileReader.(FileReader.java:55)
	at 
org.apache.maven.continuum.web.action.ReleasePrepareAction.getReleasePluginParameters(ReleasePrepareAction.java:128)
	at 
org.apache.maven.continuum.web.action.ReleasePrepareAction.input(ReleasePrepareAction.java:117)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
	at 
com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:364)
	at 
com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:216)


Thank you in advance,

Christiaan

_
Learn.Laugh.Share. Reallivemoms is right place! 
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us




Re: How do I run a bat file as a build

2007-08-29 Thread Emmanuel Venisse

the latest parameter must be a module name so if you want to checkout the bat 
directory, the scm url must be:
scm:local|c:/|bat

Emmanuel

Joakim Zetterberg a écrit :
Currently it's scm:local|c:/bat|foo.bat 




Emmanuel Venisse wrote:

what is your scm url?

Joakim Zetterberg a écrit :

How would I set up a project if I would like a bat file to run?

Let's say I have the bat file in c:\bat and its called foo.bat.

I have tried to enter a local scm url, but I still get errors:

Exception:
Cannot checkout sources.
The module isn't a directory.

I guess I have missed something in the configuration, but I don't really
know what to change.









Re: How do I run a bat file as a build

2007-08-29 Thread Joakim Zetterberg

Currently it's scm:local|c:/bat|foo.bat 



Emmanuel Venisse wrote:
> 
> what is your scm url?
> 
> Joakim Zetterberg a écrit :
>> How would I set up a project if I would like a bat file to run?
>> 
>> Let's say I have the bat file in c:\bat and its called foo.bat.
>> 
>> I have tried to enter a local scm url, but I still get errors:
>> 
>> Exception:
>> Cannot checkout sources.
>> The module isn't a directory.
>> 
>> I guess I have missed something in the configuration, but I don't really
>> know what to change.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-do-I-run-a-bat-file-as-a-build-tf4342442.html#a12382602
Sent from the Continuum - Users mailing list archive at Nabble.com.