RE: Problem with convert-snapshot goal

2003-10-20 Thread Christian Goos
I just replaced the casts to String by a String literal.
> > (String) getVariables().get( MavenConstants.PROXY_HOST ), replaced by
http://myhost

Unfortunately most of the exceptions in the class are caught by an empty
catch block so the ClassCastException of the String cast does not appear. 

Thank you
Christian

-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 17. Oktober 2003 19:03
To: Maven Users List
Subject: RE: Problem with convert-snapshot goal

On Thu, 2003-10-16 at 04:40, Christian Goos wrote:
> Maven Version is rc1
> Release Plugin Version is 1.1

Thanks, I'm integrating a patch by Mauro Televi so I will take a peek.

Can you give me more detail on what you hardcoded. Snapshots won't be
converted if no mapping file can be found. If these are snapshots that
are present in your repository then it might not work as I might have
pointed it strictly at ibiblio.

> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 16, 2003 2:45 AM
> To: Maven Users List
> Subject: Re: Problem with convert-snapshot goal
> 
> Version of Maven/plugin?
> --
> dIon Gillard, Multitask Consulting
> Blog:  http://blogs.codehaus.org/people/dion/
> 
> 
> Christian Goos <[EMAIL PROTECTED]> wrote on 16/10/2003 
> 03:34:16 AM:
> 
> > Hi,
> > 
> > I was trying to use the convert-snapshot goals of the release plugin.
> > However the plugin did not replace the Snapshot versions.
> > I had a look in the source code and when I replaced the 
> "getVariables."
> > section in the call to getFile of org.apache.maven.util.HttpUtils with 
> some
> > hardcoded strings it is working correctly. What might be the problem 
> with
> > that.
> > 
> > Thanks for help
> > Christian
> > 
> > 
> > ..
> > getFile( url,
> > snapshotVersionFile,
> > true, // ignore errors
> > false, // use timestamps
> > (String) getVariables().get( MavenConstants.PROXY_HOST ), // works when 
> set
> > to string literal
> > (String) getVariables().get( MavenConstants.PROXY_PORT ), // works when 
> set
> > to string literal
> > ..
> > 
> > -
> > 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]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


-
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]



RE: Problem with convert-snapshot goal

2003-10-17 Thread Jason van Zyl
On Thu, 2003-10-16 at 04:40, Christian Goos wrote:
> Maven Version is rc1
> Release Plugin Version is 1.1

Thanks, I'm integrating a patch by Mauro Televi so I will take a peek.

Can you give me more detail on what you hardcoded. Snapshots won't be
converted if no mapping file can be found. If these are snapshots that
are present in your repository then it might not work as I might have
pointed it strictly at ibiblio.

> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 16, 2003 2:45 AM
> To: Maven Users List
> Subject: Re: Problem with convert-snapshot goal
> 
> Version of Maven/plugin?
> --
> dIon Gillard, Multitask Consulting
> Blog:  http://blogs.codehaus.org/people/dion/
> 
> 
> Christian Goos <[EMAIL PROTECTED]> wrote on 16/10/2003 
> 03:34:16 AM:
> 
> > Hi,
> > 
> > I was trying to use the convert-snapshot goals of the release plugin.
> > However the plugin did not replace the Snapshot versions.
> > I had a look in the source code and when I replaced the 
> "getVariables."
> > section in the call to getFile of org.apache.maven.util.HttpUtils with 
> some
> > hardcoded strings it is working correctly. What might be the problem 
> with
> > that.
> > 
> > Thanks for help
> > Christian
> > 
> > 
> > ..
> > getFile( url,
> > snapshotVersionFile,
> > true, // ignore errors
> > false, // use timestamps
> > (String) getVariables().get( MavenConstants.PROXY_HOST ), // works when 
> set
> > to string literal
> > (String) getVariables().get( MavenConstants.PROXY_PORT ), // works when 
> set
> > to string literal
> > ..
> > 
> > -
> > 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]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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



RE: Problem with convert-snapshot goal

2003-10-16 Thread Christian Goos
Maven Version is rc1
Release Plugin Version is 1.1


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 2:45 AM
To: Maven Users List
Subject: Re: Problem with convert-snapshot goal

Version of Maven/plugin?
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Christian Goos <[EMAIL PROTECTED]> wrote on 16/10/2003 
03:34:16 AM:

> Hi,
> 
> I was trying to use the convert-snapshot goals of the release plugin.
> However the plugin did not replace the Snapshot versions.
> I had a look in the source code and when I replaced the 
"getVariables."
> section in the call to getFile of org.apache.maven.util.HttpUtils with 
some
> hardcoded strings it is working correctly. What might be the problem 
with
> that.
> 
> Thanks for help
> Christian
> 
> 
> ..
> getFile( url,
> snapshotVersionFile,
> true, // ignore errors
> false, // use timestamps
> (String) getVariables().get( MavenConstants.PROXY_HOST ), // works when 
set
> to string literal
> (String) getVariables().get( MavenConstants.PROXY_PORT ), // works when 
set
> to string literal
> ..
> 
> -
> 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]

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



Re: Problem with convert-snapshot goal

2003-10-15 Thread dion
Version of Maven/plugin?
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Christian Goos <[EMAIL PROTECTED]> wrote on 16/10/2003 
03:34:16 AM:

> Hi,
> 
> I was trying to use the convert-snapshot goals of the release plugin.
> However the plugin did not replace the Snapshot versions.
> I had a look in the source code and when I replaced the 
"getVariables."
> section in the call to getFile of org.apache.maven.util.HttpUtils with 
some
> hardcoded strings it is working correctly. What might be the problem 
with
> that.
> 
> Thanks for help
> Christian
> 
> 
> ..
> getFile( url,
> snapshotVersionFile,
> true, // ignore errors
> false, // use timestamps
> (String) getVariables().get( MavenConstants.PROXY_HOST ), // works when 
set
> to string literal
> (String) getVariables().get( MavenConstants.PROXY_PORT ), // works when 
set
> to string literal
> ..
> 
> -
> 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]



Problem with convert-snapshot goal

2003-10-15 Thread Christian Goos
Hi,

I was trying to use the convert-snapshot goals of the release plugin.
However the plugin did not replace the Snapshot versions.
I had a look in the source code and when I replaced the "getVariables."
section in the call to getFile of org.apache.maven.util.HttpUtils with some
hardcoded strings it is working correctly. What might be the problem with
that.

Thanks for help
Christian


..
getFile( url,
snapshotVersionFile,
true, // ignore errors
false, // use timestamps
(String) getVariables().get( MavenConstants.PROXY_HOST ), // works when set
to string literal
(String) getVariables().get( MavenConstants.PROXY_PORT ), // works when set
to string literal
..

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