Automating builds ? ( ERROR The project description file (.project) is missing )

Hi,

I’m getting into trying to set up build automation with BonitaBPM 6.4 (SP) following the documentation.

Here is what I have done so far:

  • Set up a working SVN repository.
  • Design a simple process and commit it to the repository.
  • Deleting everything in the workspace directory.

Calling the script with my repository as an input

./BonitaStudioBuilder.sh -repoPath=/var/svn/repos/bonita -withUI=false -outputFolder=/var/build -buildAll -environment=Qualification

I can see that the Bonita studio workspace strting to sync with SVN, but quickly the whole process ends with the following output:

!ENTRY org.eclipse.osgi 4 0 2015-07-03 10:51:27.473
!ERROR Application error
!STACK 1
org.eclipse.core.runtime.AssertionFailedException: assertion failed: We don’t f
ind the correct number of files:

With, I guess, the following relevant cause:

!ERROR The project description file (.project) for ‘bonita-qa-test’ is missing.
This file contains important information about the project. The project will
not function properly until this file is restored.
!SUBENTRY 1 org.eclipse.core.resources 4 567 2015-07-03 10:51:26.520
!ERROR Could not read metadata for ‘server_configuration’.
!STACK 1

I think this may be because .project file is ignored on commit. I don’t know that much SVN but i found nothing showing that this file is ignored due to configuration.

Any help ? thx !

as above

Hi,
you have to checkout your repository first. you cannot use directly the server side svn directories !!

Woops, epic question ! It works, thanks and sorry about that

I am facing same issue when I check out files locally and try to run ./BonitaStudioBuilder.sh command
aCordier … can you please post updated version of following.

./BonitaStudioBuilder.sh -repoPath=/var/svn/repos/bonita -withUI=false -outputFolder=/var/build -buildAll -environment=Qualification