• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ANT and Jbuilder

 
Ranch Hand
Posts: 647
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am trying to run Ant through Jbuilder7.0. But I get below error message.

"build.xml": file:C:/Project/buildscripts/build.xml:5: Unexpected element "import" at line 5

Can someone please let me know what all parameters I need to set?

In case this is not a proper forum where can I ask Jbuider related questions. I tried to search but couldn't find any. Since the question is related to ANT, am asking in this forum.

Thanks,
Trupti
 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The ant in your jbuilder must older then 1.6.*.
 
trupti nigam
Ranch Hand
Posts: 647
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So how do I set the correct ant version? For the project we are using version 1.6.2.
Also I tried to comment that line and tried to build the project through Jbuilder. But it seems it's not recognising the proper paths in the build.xml.
Any help is really appreciated.

Originally posted by Roseanne Zhang:
The ant in your jbuilder must older then 1.6.*.



Thanks,
Trupti
 
trupti nigam
Ranch Hand
Posts: 647
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok I was able to get rid of the first problem i.e. the import problem. Now it's giving the following error.

"build.xml": C:\project\buildscripts\build.xml:32: C:\project\${env.WL_HOME}\server\lib not found. at line 32

Originally posted by trupti nigam:
So how do I set the correct ant version? For the project we are using version 1.6.2.
Also I tried to comment that line and tried to build the project through Jbuilder. But it seems it's not recognising the proper paths in the build.xml.
Any help is really appreciated.



Thanks,
Trupti



Thanks,
Trupti
 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ok I was able to get rid of the first problem i.e. the import problem.



How?



Now it's giving the following error.

"build.xml": C:\project\buildscripts\build.xml:32: C:\project\${env.WL_HOME}\server\lib not found. at line 32



I think the property env.WL_HOME is net being set or passed properly
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic