Which version of Ant are you using? Are you running this through eclipse or at the command line?
Ian Ashley wrote: > Dear All, > > I have set up a build file that uses the jrecontainer tag as follows > > <taskdef resource="net/sf/ant4eclipse/antlib.xml" /> > <jreContainer> > <jre id="J2SE-1.5" > > location="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/" > /> > </jreContainer> > > Everything builds fine but Eclipse produces the warning > > Problem: failed to create task or type jre Cause: The name is > undefined. Action: Check the spelling. Action: Check that any custom > tasks/types have been declared. Action: Check that any > <presetdef>/<macrodef> declarations have taken place. when it parses > the file. Is there way to prevent the warning? > > Thanks, > Ian > > _______________________________________________ > * > Ian Ashley > *Software Engineering Manager* > *Picdar, an Nstein company > T +44 (0)1727 847488 x402 > F +44 (0)1727 840649 > www.picdar.com > www.nstein.com > *Powering Digital Publishing > *This message, its contents and any attachments to it, are private and > confidential. Any unauthorised disclosure, use or dissemination of > the whole or any part of this message (without our prior consent in > writing is prohibited. If you are not the intended recipient of this > message please notify us immediately. The contents of this message and > any attachment to it do not constitute a commitment, agreement, or > representation by us except where the same is provided for in a > written agreement entered into between you and us. > > Registered in England Number 3160929 > Picdar Technology Limited, c/o Fasken Martineau Stringer Saul, 17 > Hanover Square, London, W1S 1HU > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > ------------------------------------------------------------------------ > > _______________________________________________ > Ant4eclipse-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ant4eclipse-user > ------------------------------------------------------------------------------ _______________________________________________ Ant4eclipse-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ant4eclipse-user
