Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error running javac.exe compiler

 
Harsha Mulani
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • 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
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Run an Ant
 
Harsha Mulani
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • 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 Java Windows XP
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
yes, i had tried the same option first when i got the error message I posted earlier
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic