Q1: In order to use a different package you have to modify accordingly all the changeset.xml you can find in gwt-console-server.war libs i.e. in jbpm-gwt-corexxxx.jar, jbpm-gwt-graphxxxx.jar
Q2: If you want to delete stuff from guvnor delete from eclipse or webdav client. Then check in guvnor if they exist in guvnor's archives because after delete they are placed within the archives, Administration/Archive ,and delete the items that you want to replace. There is a specific situation when you get this message (i believe it's a bug) if you add an ftl file or maybe any other file that has the same name as the bpmn file. For example if you create a process test.bpmn and you set in its properties id = test and then you want to create an initial form for this process i.e. test.ftl , then forget it , you will get the message you mentioned , so this might happen with any file having same name regardless the extensions (i'm not sure haven't checked) .
Hi, thanks for your quickly response.
after remove asserts in archive, the process can be add again.
another Q3: now I added a process to defaultPackage, and built package has successful. but in bpm console, I can't see the added process in process view. why?
BTW, is there any doc to guide how to model and run a process step by step?
I'm glad everything worked for you.
Regarding Q3 the theory is that you have to set in the changeset.xml, entries for both packages
I didn't change changeset.xml yet, since the process can be re-add to default package now, So I don't need to switch to another package now.
I just added process to default package and build the default package, and I expecting the new added process can visiuable in bpm console. but it didn't.
By default the changeset.xml points at the defaultPackage of guvnor. In Guvnor you can create as many packages as you want and you can add processes to those packages and build them normally, without touching the changeset.xml. The changeset.xml is basically used by the gwt-console-server (therefore the jbpm-console as well) in order to look for/use the resources specified in the changeset.xml, hence if you dont specify the new or modified packages in the changeset.xml files the jbpm-console will never look for those packages and you will not see any processes.
after restart machine and clean jboss data/tmp/work/log (I don't know which way fixed the problem), I can saw the process now. thank you.