You need to add authentication in the ChangeSet.xml. Unfortunately the one
that Guvnor creates for you doesn't include it. So you need to download the
ChangeSet.xml into your project and load it using .newClassPathResource or
.newFileResource instead.
You also need to add authentication to the ChangeSet.xml like so:
<change-set
xmlns='http://drools.org/drools-5.0/change-set'
xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
xs:schemaLocation='http://drools.org/drools-5.0/change-set
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/...
<add
<resource source= "YOUR URL"
type='PKG' <b>basicAuthentication="enabled"
username="admin"
password="admin"*/
</add
</change-set
Hope that works.
Rich.
--
View this message in context:
http://drools.46999.n3.nabble.com/how-to-get-the-pkg-from-guvnor-by-Knowl...
Sent from the Drools: User forum mailing list archive at
Nabble.com.