in order to add profiles capabilities to the build, i have added
<property file="${jbpm.root}/build/profiles/${profile}.profile.properties" />
to all the build files that import the base.project.build.xml
that way, you can specify profile=jboss5 in your ${user.home}/jbpm/build.properties and then these profile properties will get loaded before the build/build.properties
that way you can create profiles with different sets of libraries to test with.
i don't have any specific profiles defined yet. there is just an example that contains the same library versions as the main properties file.
note that i also have removed the
<property file="build.properties" />
since it was not used