You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Luciano Resende <lu...@gmail.com> on 2009/10/15 06:29:32 UTC

Dojo install script questions

I was reviewing the "build-dojo.xml" script we have and that is used
in various places, and was wondering

- Looks like dojo is available from public maven repos [1] using
"org.dojotolkit:dojo" as groupId:artifactId, but our script uses
"dojo:dojo" as groupId:artifactId. Is there any reason for that ?
Shouldn't we be using the official groupId:artifactId ?

<dependency>
    <groupId>org.dojotoolkit</groupId>
    <artifactId>dojo</artifactId>
    <version>1.3.0</version>
</dependency>

- Our "build-dojo.xml"  script have various targets to download and
install dojo, but as it's available from a public maven repo, don't we
really only need to add it as a maven dependency and the
unpack-dojo-files and clean target from the "build-dojo"  script ?

Well, just wanted a second opinion before I go making these changes...

[1] http://mirrors.ibiblio.org/pub/mirrors/maven2/org/dojotoolkit/dojo/1.3.0/

-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: Dojo install script questions

Posted by Simon Laws <si...@googlemail.com>.
+1, the script was just a work around.

Simon

Re: Dojo install script questions

Posted by Raymond Feng <en...@gmail.com>.
I believe the script was a workaround when dojo was not in the maven repo. 
We should use a dependency instead now.

http://repo1.maven.org/maven2/org/dojotoolkit/dojo/1.3.2/

Thanks,
Raymond
--------------------------------------------------
From: "Luciano Resende" <lu...@gmail.com>
Sent: Wednesday, October 14, 2009 9:29 PM
To: "tuscany-dev" <de...@tuscany.apache.org>
Subject: Dojo install script questions

> I was reviewing the "build-dojo.xml" script we have and that is used
> in various places, and was wondering
>
> - Looks like dojo is available from public maven repos [1] using
> "org.dojotolkit:dojo" as groupId:artifactId, but our script uses
> "dojo:dojo" as groupId:artifactId. Is there any reason for that ?
> Shouldn't we be using the official groupId:artifactId ?
>
> <dependency>
>    <groupId>org.dojotoolkit</groupId>
>    <artifactId>dojo</artifactId>
>    <version>1.3.0</version>
> </dependency>
>
> - Our "build-dojo.xml"  script have various targets to download and
> install dojo, but as it's available from a public maven repo, don't we
> really only need to add it as a maven dependency and the
> unpack-dojo-files and clean target from the "build-dojo"  script ?
>
> Well, just wanted a second opinion before I go making these changes...
>
> [1] 
> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/dojotoolkit/dojo/1.3.0/
>
> -- 
> Luciano Resende
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/