• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

ANT with RAD 6

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I am using this ant file in RAD 6
<?xml version="1.0" encoding="UTF-8"?>
<project default="exportEar">
<target name="exportEar" depends="">
<echo message="Exported EAR files to " />

<earExport earprojectname="e1" earexportfile="C:/RTemp/e1.ear"
exportsource="true" IncludeProjectMetaFiles="false" overwrite="true" />

<echo message="Test Message"/>
</target>
</project>

It works fine no errors but I do not see the file generated
here is the output at console
Buildfile: C:\workspace\e1\META-INF\build.xml

exportEar:
[echo] Exported EAR files to
[earExport] Exporting: e1 (Begin) ...
[echo] Test Message
BUILD SUCCESSFUL
Total time: 219 milliseconds


Thanks
 
Saloon Keeper
Posts: 28821
212
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Everything looks good except that there's no predicate on the "exporting to" message.

Best guess I can make is that you might want to mkdir the C:/RTemp directory before tunning your EAR task. I've seen things occasionally fail because of undefined path components and bad error handling.
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you try running with the -v argument to get verbose output? It may give you clues about why you aren't getting the desired result.
[ January 25, 2007: Message edited by: Carol Enderlin ]
 
It looks like it's time for me to write you a reality check! Or maybe a tiny ad!
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic