Community
Participate
Working Groups
Build Identifier: Eclipse basebuilder r36x_20100623 Our repository contains some control files from version control system. These are hidden files like .copyarea.db or .svn. This can't be avoided. The problem is that headless build tries to transform this files and stops with a failure like the following: ....\org.eclipse.releng.basebuilder-r36x_20100623\plugins\org.eclipse.pde.build_3.6.0.v20100603\scripts\genericTargets.xml:210: Error occurred while transforming repository: No repository found at file:/Z:/zCCRCz/zccrcz_view_targetplatform/pegbin/target.platform/eclipseBaseRepos/.copyarea.db.. From my point of view the transForm target shouldn't look into hidden files. I changed line 211 in genericTargets.xml from basebuilder like this: <source dir="${repoBaseLocation}/" includes="*" excludes=".*" /> Now the build works without any problems :) Reproducible: Always Steps to Reproduce: 1. Setup a headless build which uses repositories 2. Use a repoBaseLocation which contains other files then repositories (like version control system hidden files) 3. Start the build an you will get the error
Sounds reasonable to me, I did this: <property name="repoBaseLocation.excludes" value=".*" /> <p2.repo2runnable destination="${transformedRepoLocation}"> <source dir="${repoBaseLocation}/" includes="*" excludes="${repoBaseLocation.excludes}"/> </p2.repo2runnable> Which allows the user to exclude other things too. This is in 3.7 head and 3.6.1
Thanx Andrew, this solution fits exact to my needs.