RE: windows syntax error

2003-08-22 Thread dion
Even better would be to use 
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Brett Porter <[EMAIL PROTECTED]> wrote on 22/08/2003 10:29:00 AM:

> Looks like some quoting is needed - I'm guessing
> maven.repo.local=c:\documents and settings\username\.maven\repository ?
> Workaround is to set maven.repo.local somewhere else in your
> build.properties that doesn't contain spaces.
> 
> - Brett
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> > Sent: Friday, 22 August 2003 6:18 AM
> > To: [EMAIL PROTECTED]
> > Subject: windows syntax error
> > 
> > 
> > 
> > I am getting the error seen below.  Has anyone else had this error.
> > 
> >  > executable="${env.WEBSPHERE_HOME}/bin/ejbdeploy.bat">
> >> line="${maven.repo.local}/${dep.artifactDirectory}/${dep.type}
> > s/${dep.artifact}
> > temp Deployed_${dep.artifact}"/>
> > 
> > 
> > 
> > 
> > 
> > [exec] Input options error: The input filename must end 
> > in '.jar' or '.ear'.  It was C:\Documents..
> > [exec] 0 Errors, 0 Warnings, 0 Informational Messages
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 


Re: windows syntax error

2003-08-22 Thread dion
Does ${dep.artifact} end in .jar or .ear?
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


[EMAIL PROTECTED] wrote on 22/08/2003 06:17:34 AM:

> 
> I am getting the error seen below.  Has anyone else had this error.
> 
> 
>line="${maven.repo.local}/${dep.artifactDirectory}/${dep.type}
> s/${dep.artifact}
> temp Deployed_${dep.artifact}"/>
> 
> 
> 
> 
> 
> [exec] Input options error: The input filename must end in '.
> jar' or '.ear'.
>  It was C:\Documents..
> [exec] 0 Errors, 0 Warnings, 0 Informational Messages
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


RE: windows syntax error

2003-08-21 Thread Brett Porter
Looks like some quoting is needed - I'm guessing
maven.repo.local=c:\documents and settings\username\.maven\repository ?
Workaround is to set maven.repo.local somewhere else in your
build.properties that doesn't contain spaces.

- Brett

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Friday, 22 August 2003 6:18 AM
> To: [EMAIL PROTECTED]
> Subject: windows syntax error
> 
> 
> 
> I am getting the error seen below.  Has anyone else had this error.
> 
>  executable="${env.WEBSPHERE_HOME}/bin/ejbdeploy.bat">
>line="${maven.repo.local}/${dep.artifactDirectory}/${dep.type}
> s/${dep.artifact}
> temp Deployed_${dep.artifact}"/>
> 
> 
> 
> 
> 
> [exec] Input options error: The input filename must end 
> in '.jar' or '.ear'.  It was C:\Documents..
> [exec] 0 Errors, 0 Warnings, 0 Informational Messages
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


Re: windows syntax error

2003-08-21 Thread Craig S. Cottingham
On Thu, 2003-08-21 at 15:17, [EMAIL PROTECTED] wrote:
> 
> I am getting the error seen below.  Has anyone else had this error.
> 
> 
>line="${maven.repo.local}/${dep.artifactDirectory}/${dep.type}s/${dep.artifact}
> temp Deployed_${dep.artifact}"/>

The Ant manual warns against using :

"It is highly recommended to avoid the line version when possible. Ant
will try to split the command line in a way similar to what a (Unix)
shell would do, but may create something that is very different from
what you expect under some circumstances."


I don't know that this is the cause of your problem, but if any of the
elements in that pathname have spaces in them,  will very likely
do something other than what you want it to.

-- 
Craig S. Cottingham
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]