I take it that you're talking about running this, and not building the
war in Ant itself.

You can specify the CLASSPATH in your MANIFEST.MF file if you don't
put the jars in the directory your application server is expecting.

Look at the <indexjars> portion of the <manifest> task about how to
setup the classpath in your MANIFEST.MF file. You can use a <manifest>
section when defining a war. Look under the <jar> task for examples on
how this is done. The <war> task inherits this from the <jar> task.

On Tue, Nov 10, 2009 at 6:07 PM, geek.shrek <[email protected]> wrote:
> Hi,
>
> I'm trying to build a war using Ant, but it won't find the lib/runtime
>
> <p>Here is my structure.
> <font size=2><pre>
> - WEB-INF
>  - lib
>    - build
>    - runtime
>  - classes
> - META-INF
>  - MANIFEST.MF
> - index.html
> </pre></font>
>
> <p>my manifest classpath<br>
> Class-Path: . lib/runtime/dwr.jar lib/runtime/bsf-2.3.jar
>
> How should I have the path for my lib? I have tried 
> "WEB-INF/lib/runtime/dwr.jar" it won't work either.
>
> <br>Can someone help me with this.
> Thanks,
>
>
>      
> __________________________________________________________________________________
> Win 1 of 4 Sony home entertainment packs thanks to Yahoo!7.
> Enter now: http://au.docs.yahoo.com/homepageset/



-- 
David Weintraub
[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to