cancel
Showing results for 
Search instead for 
Did you mean: 

build.number file missing from bin/platform when running ant production task

Former Member
0 Kudos

We are using ant production task to create the hybrisServer-Platform.zip for deployment.

The task generates the zip omitting the file build.number under bin/platform

BUT without this file, then the version info at the bottom of the HMC home screen shows up as null!

Is there a workaround or fix for this?

We have version=5.4.0.0

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Steve

Thanks for your message, this is a known issue for our R&D team, eventually they will develop some fix for this or for future release.

As a workaround you can simple copy and paste your build.number file to your production platform, in order to avoid that null message in the hmc.

Remember that you need to restart your hybris server to load the build.number

Best Regards

JC

Former Member
0 Kudos

Thanks Juan, that's what I expected.

Former Member
0 Kudos

Wow. Should this be in the Tips and Pitfalls wiki? Seems like the kind of thing you'd want to know about when setting up a production environment.

Answers (2)

Answers (2)

Former Member
0 Kudos

it's causing due to file permission as well. we have to give full permission for "build.number" file. it's resolved my issue.

Former Member
0 Kudos

Hi, modifiying the filtersets.xml by

  • adding <include name="build.number"/> to the "platform.without.general.excludes.filter"-patternset

  • removing <patternset refid="build.number.exclude.filter"/> from the "general.excludes.filter"-patternset

solved this issue for us.

Regards, Marco