cijujoseph / activiti-examples

Alfresco Process Services powered by Activiti Examples.
Apache License 2.0
64 stars 42 forks source link

Problem in Repacking War File #6

Open Prathap-opteamix opened 6 years ago

Prathap-opteamix commented 6 years ago

Hi joseph, I was going through the document provide for "Deployment of Alfresco Process Services (APS) on Pivotal Cloud Foundry (PCF)" and i try to replicate it.

Steps Followed: 1) Downloaded “activiti-app.war” and “activiti.lic” from https://www.alfresco.com/platform/process-services-bpm/trial/download by registering to it and got the download Link in registered Mail id. 2) Registered and Downloaded “Aspose.Total.Java Temporary license file from https://purchase.aspose.com/temporary-license 3) Downloaded “activiti-app-pcf” from https://github.com/cijujoseph/activiti-examples/tree/master/activiti-app-pcf 4) Added “activiti.lic” and “Aspose.Total.Java.lic” File in “src/main/resources” folder. 5) Created "webapp" and "java" Folder under “src/main” of “activiti-app-pcf”.

As a next step files/folders need to me moved to respective folder structure.

After i exploded “activiti-app.war”, their are lot of folders in it which i am not sure which folders need to be moved to which folder structure of “activiti-app-pcf” .

Provided document is not clear enough to do this. So if u can elaborate on which Folders/files should be moved to Which folder structure it will be helpful.

Thanks Prathap

cijujoseph commented 6 years ago

Hi Prathap,

If you are not changing anything in the out of the box web app you don't have to create "webapp" folder manually...Also, I see that you manually downloaded “activiti-app.war” which you don't have to do. This example assumes that you have valid credentials to access the activiti-app.war from the Alfresco Private Nexus Maven Repository. In this example, I am using the maven war plugin to fetch the war from the Alfresco Repo during mvn package phase and as part of the maven package phase it explodes the downloaded war, replaces/add any local customizations and repackages the war.

If you are trialing Alfresco Process Services and if you are working with a Sales Representative during this trial, please get it touch with the Sales Rep to get valid credentials to access the Alfresco Private Maven Repository.

Hope this helps. Regards, Ciju

Prathap-opteamix commented 6 years ago

Hi Joseph, Thanks for quick Reply. Ya i was trying to host APS in PCF. I will check with sales team to get valid credentials for accessing Alfresco private maven repository.

One request if u can provide a demo video of how to setup APS in PCF will be helpful.

With Regards, Prathap

cijujoseph commented 6 years ago

Thanks for the feedback, I'll try do that when I get a chance, I'll keep this issue open for that!

Prathap-opteamix commented 6 years ago

Thanks joseph . Hoping to see demo video at the earliest.