ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Chambery" <tchamb...@hotmail.com>
Subject Re: including manifest file in <ejbjar>
Date Wed, 05 Dec 2001 16:54:33 GMT
That would probably work, except that each descriptor is in its own
directory:

    ant_descriptors
        foo
            meta-inf
                foo-ejb-jar.xml
                manifest.mf
        bar
            meta-inf
                bar-ejb-jar.xml
                manifest.mf

Basically, there is no constant absolute path.  I tried

    manifest    ="${project.root}/ant_descriptors/**/MANIFEST.MF"

but that gets the same:

java.io.FileNotFoundException:
B:\project.root\ant_descriptors\**\MANIFEST.MF (The filename, directory
name, or volume label syntax is incorrect)

This is related to the problem of grabbing the WebSphere specific .xmi files
related to the particular current directory in which the task is operating:
<ejbjar> can only grab from some absolute base dir.   I'm hoping I don't
have to write a WebSphere optional task, but this kind of nitty work
probably has to be done in the java code behind the scenes.

Just as an aside, has anyone heard of a completed WebSphere task (I'm not a
wizard coder)? There used to be some code in the ant archives, but I
couldn't find it the last time I looked.


Todd

----- Original Message -----
From: "Alexander Syedin" <ace@sunbay.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Wednesday, December 05, 2001 11:22 AM
Subject: Re: including manifest file in <ejbjar>


> Hi Todd,
> have you tryed to specify absolute path to manifest file (e.g.
manifest="${basedir}/manifest.mf") ? Works fine for me.
> --
> SY. Alexander Syedin
>
> On 05 Dec 2001 at 10:17:23, Todd Chambery wrote:
> > Hi,
> >
> > I am again wrestling with the <ejbjar> task, this time trying to include
the

<snip>

> > thanks in advance
> >
> > Todd


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message