[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Problem with pre_build hook



Hi,

I have this pre_build hook:

echo "PreBuild: Configuring GateIn Portal on JBoss AS7 cartridge"
cp ${OPENSHIFT_JBOSSAS_DIR}/modules/org/jboss/as/webservices/main/module.xml ${OPENSHIFT_JBOSSAS_DIR}/modules/org/jboss/as/webservices/main/module.xml.oldgateinsaved
cp ${OPENSHIFT_JBOSSAS_DIR}/standalone/configuration/standalone.xml ${OPENSHIFT_JBOSSAS_DIR}/standalone/configuration/standalone.xml.oldgateinsaved
cp -R ${OPENSHIFT_REPO_DIR}/.openshift/config/standalone-gatein.xml ${OPENSHIFT_JBOSSAS_DIR}/standalone/configuration/standalone.xml
cp -R ${OPENSHIFT_REPO_DIR}/.openshift/config/gatein ${OPENSHIFT_JBOSSAS_DIR}/standalone/configuration

that basically tries to modify AS7 configuration to add GateIn capatibilities.

For some reason, hook cannot copy from ${OPENSHIFT_REPO_DIR} to ${OPENSHIFT_JBOSSAS_DIR}.

Please, anyone can help me with this issue, or to re-design the logic to achieve same goal ?

Thanks in advance,
Lucas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]