-
1. Re: how to switch package
melc May 12, 2011 8:15 AM (in response to freeliuade)Hello,
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) .
-
2. Re: how to switch package
freeliuade May 12, 2011 10:30 AM (in response to melc)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?
-
3. how to switch package
melc May 12, 2011 10:43 AM (in response to freeliuade)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
-
4. how to switch package
freeliuade May 13, 2011 3:02 AM (in response to melc)Hi,
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.
-
5. how to switch package
melc May 13, 2011 3:29 AM (in response to freeliuade)Hello,
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.
-
6. how to switch package
freeliuade May 17, 2011 4:27 AM (in response to melc)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.