cancel
Showing results for 
Search instead for 
Did you mean: 

While Building the project in eclipse im getting buildfailed error:

Former Member
0 Kudos

Error in EE:

Buildfile: C:\Nandhu\Hybris 5.3\hybris\bin\platform\resources\ant\codegen.xml [echo] C:\Nandhu\Hybris 5.3\hybris\bin\platform/tomcat/bin

BUILD FAILED C:\Nandhu\Hybris 5.3\hybris\bin\platform\resources\ant\codegen.xml:23: The following error occurred while executing this line: C:\Nandhu\Hybris 5.3\hybris\bin\platform\resources\ant\antmacros.xml:75: The following error occurred while executing this line: C:\Nandhu\Hybris 5.3\hybris\bin\platform\resources\ant\util.xml:382: java.io.FileNotFoundException: C:\Nandhu\Hybris 5.3\hybris\data\build.number (Access is denied)

Total time: 1 second

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member387866
Active Contributor
0 Kudos

Hi Nandhini,

If Vinjay's suggestion to use the Command Line to trigger the builds doesn't work, check the following related to the build.number file

  • The file's permissions,

  • The parent directory's permissions,

  • That you don't have the file opened in any other program,

I have a version of that file, it reads;

 #Ant properties
 #Thu Jul 02 10:19:37 BST 2015
 build.builddate=20150702 1019
 build.releasedate=20150213 1203
 build.vendor=hybris
 build.version=5.4.0.1
 build.version.api=5.4.0

I hope this helps,
Luke

Former Member
0 Kudos
Former Member
0 Kudos

Dont try build from ee. use ant build from command prompt. Ee build may lead to out of memory issues and it is slow.

former_member387866
Active Contributor
0 Kudos

True. Ee can also suffer from issues relating from files being updated in the build process.

Former Member
0 Kudos

Ant build is successful in Command Prompt and able to run hybris server too but in ee i'm getting the error. specified above I'm not able to execute the steps for creating new extension [ screenshot]

Former Member
0 Kudos

Dont worry about ee errors. Your ant build should run successfully. even if your ee build has issues still you can run the server and access the application and debug the application.

So no worries

Thanks Samudrala