You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ni...@bnpparibas.com on 2002/12/09 22:01:21 UTC

[bug?] Re: jar:deploy problem


>> >     [echo]
>> >           Executing  with the username ctreanor on deckard
>> This looks as if it's executing " " (blank) with username ctreanor on
>> deckard. It looks as if ssh is not defined as being the executable
>> to run - but I thought that it was the default.

I am seeing the same problem:

The problem is not SSH but the remote command that we are trying to execute
(cd, unzip, etc)

We just started working with the Maven head (head as of 5/12/02) - the
deploy task seems to be broken since B7 (B7 works):

There is a line in the deploy jelly:

        <j:set
          var="siteCommand"
          value='${context.getVariable("toolbox").StringUtils.replace(siteCommand, "@deployDirectory@", resolvedDirectory)}'
        />

However, context.getVariable("toolbox") seems to be null (at least,
context.getVariable("toolbox").toString() gives nothing)

I dont really know enough of the internals of maven to work out what the
problem is here.

Cheers,
Nick





This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


Re: Single dependency - multiple jars

Posted by Siegfried Göschl <si...@it20one.at>.
Hi Ciaran,

I never tried that but ...:-)

You can also rename the stuff to e.g. mssql-mssqlserver-1.0b, mssql-
msbase and so on and

<dependency>
	<id>mssql+mssqlserver</id>
	<version>1.0b</version>
</dependency>

<dependency>
	<id>mssql+msbase</id>
	<version>1.0b</version>
</dependency>

The "+" is a sort of undocumented feature use for ant-optional and 
similar stuff.


Siegfried Goeschl
CTO
=================================
IT20one GmbH
mail: siegfried.goeschl@it20one.at
www.it20one.at

On 11 Dec 2002 at 12:24, Ciaran Treanor wrote:

> Hi,
> I've got a JDBC driver (MS) that is comprised of three jar files. Is
> it legal to have a dependency that looks like:
> 
> <dependency>
>    <id>mssqlserver</id>
>    <version/>
>    <jar>msbase.jar</jar>
>    <jar>mssqlserver.jar</jar>
>    <jar>msutil.jar</jar>
> </dependency>
> 
> If not, should I resort to manually creating a single jar file from
> the contents of the three and referencing that single file or is there
> a more elegant way?
> 
> Thanks,
> ct
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org> For
> additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 





Single dependency - multiple jars

Posted by Ciaran Treanor <ci...@capetechnologies.com>.
Hi,
I've got a JDBC driver (MS) that is comprised of three jar files.
Is it legal to have a dependency that looks like:

<dependency>
   <id>mssqlserver</id>
   <version/>
   <jar>msbase.jar</jar>
   <jar>mssqlserver.jar</jar>
   <jar>msutil.jar</jar>
</dependency>

If not, should I resort to manually creating a single jar file from
the contents of the three and referencing that single file or is
there a more elegant way?

Thanks,
ct