• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Error running javac.exe compiler

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While compiling my project using ant 1.8, i am getting the below error:

"
C:\BB_workspace\B4B\build.xml:10: The following error occurred while executing this line:
C:\BB_workspace\B4B\axis2-1.1\webapp\Axis2WarBuild.xml:110: Error running javac.exe compiler"

The line in Axis2WarBuild.xml which is causing the below error is:
"
<javac debug="on" memoryMaximumSize="256m" memoryInitialSize="256m" fork="true" destdir="${temp}/WEB-INF/classes" srcdir="${logservlet-src}" >
"

My JAVA_HOME (using jdk1.6), classpath and path settings are correct. Giving ant at the command prompt gives the below
"
C:\ant\apache-ant-1.8.0\bin>ant
Buildfile: build.xml does not exist!
Build failed
"

Can someone tell me how do I resolve this error?

Thanks
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Run an Ant
 
Harsha Mulani
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was able to complete the build from the command prompt.

But can someone tell me how do i complete the build from MYEclipse 6.6
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure about MyEclipse. in Eclipse just right click on build.xml --> Run As --> Ant build.
 
Harsha Mulani
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, i had tried the same option first when i got the error message I posted earlier
 
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My ant skills are not that good but then I read "Axis2WarBuild.xml" and "Buildfile: build.xml does not exist!" a lightbulb appears above my head.
 
You showed up just in time for the waffles! And this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic