Hmm...strange..I was pretty sure they worked.  Have you tried something like
"file:${basedir}/../../" and just making sure you start with the base
directory...they should work that way.



----- Original Message ----- 
From: "Lofi Dewanto" <[EMAIL PROTECTED]>
To: "Chad Brandon" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, June 20, 2004 1:28 PM
Subject: [Andromda-devel] Re: Building Cartridge in 3.x


>
> <Chad>
>  > You can use relative path names (I agree it would be bad if this
> wasn't the
>  > case).
> </Chad>
>
> the relative path name doesn't work...
>
> Here is my example:
>
> build.properties:
> ejosa.home=../../../
>
> build.xml:
> <property name="mappings.dir"
>    value="${ejosa.home}/ext-libs/andromda/mappings" />
>
> <namespace name="default" ignore="false">
>    <property name="languageMappingsUri"
>      value="${mappings.dir}/JavaMappings.xml" />
> </namespace>
>
> And I get this following error:
>
> [andromda] 19:22:12,562 ERROR [meta] Error setting 'languageMappingsUri'
> --> '../../..//ext-libs/andromda/mappings/JavaMappings.xml'
>   [andromda] java.net.MalformedURLException: no protocol:
> .../../..//ext-libs/andromda/mappings/JavaMappings.xml
>   [andromda] at java.net.URL.<init>(URL.java:537)
>   [andromda] at java.net.URL.<init>(URL.java:434)
>   [andromda] at java.net.URL.<init>(URL.java:383)
>
> It seems that the Ant task tries to do:
>
> .../../../ <file:> /ext-libs/andromda/mappings/JavaMappings.xml
>
> and because I did not use the "file:" it makes something like:
> .../../..//ext-libs/andromda/mappings/JavaMappings.xml
>
> Thanks!
> -- 
> ---------------------------------------------------
> Blasius Lofi Dewanto
> ---------------------------------------------------
> OpenUSS - Open University Support System
> http://openuss.sourceforge.net
> ---------------------------------------------------
> E-Mail   : [EMAIL PROTECTED]
> ICQ      : 39343280
> ---------------------------------------------------
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________
> Andromda-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-devel



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to