import java.io.File;
import java.util.ArrayList;
import java.util.List;
public class CreatePluginsConfig {
}
运行上述代码,plugin的值为解压的jbpm的绝对路径,运行之后会得到如下结果
org.apache.xerces,2.8.0.v200705301630,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.apache.xerces_2.8.0.v200705301630.jar,4,false
org.apache.xml.resolver,1.1.0.v200705310020,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.apache.xml.resolver_1.1.0.v200705310020.jar,4,false
org.eclipse.draw2d,3.2.100.v20070529,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.draw2d_3.2.100.v20070529.jar,4,false
org.eclipse.emf.common,2.3.2.v200802051830,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.emf.common_2.3.2.v200802051830.jar,4,false
org.eclipse.emf.ecore.change,2.3.0.v200802051830,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.emf.ecore.change_2.3.0.v200802051830.jar,4,false
org.eclipse.emf.ecore.edit,2.3.1.v200802051830,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.emf.ecore.edit_2.3.1.v200802051830.jar,4,false
org.eclipse.emf.ecore.xmi,2.3.2.v200802051830,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.emf.ecore.xmi_2.3.2.v200802051830.jar,4,false
org.eclipse.emf.ecore,2.3.2.v200802051830,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.emf.ecore_2.3.2.v200802051830.jar,4,false
org.eclipse.emf.edit,2.3.2.v200802051830,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.emf.edit_2.3.2.v200802051830.jar,4,false
org.eclipse.gef,3.2.102.v20080116,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.gef_3.2.102.v20080116.jar,4,false
org.eclipse.jem.util,2.0.2.v200802192030,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.jem.util_2.0.2.v200802192030.jar,4,false
org.eclipse.wst.common.core,1.1.101.v200706120315,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.common.core_1.1.101.v200706120315.jar,4,false
org.eclipse.wst.common.emfworkbench.integration,1.1.105.v200802192030,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.common.emfworkbench.integration_1.1.105.v200802192030.jar,4,false
org.eclipse.wst.common.emf,1.1.104.v200709131115,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.common.emf_1.1.104.v200709131115.jar,4,false
org.eclipse.wst.common.environment,1.0.200.v200705302225,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.common.environment_1.0.200.v200705302225.jar,4,false
org.eclipse.wst.common.frameworks,1.1.103.v200802192030,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.common.frameworks_1.1.103.v200802192030.jar,4,false
org.eclipse.wst.common.project.facet.core,1.2.2.v200802200327,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.common.project.facet.core_1.2.2.v200802200327.jar,4,false
org.eclipse.wst.common.ui,1.1.200.v200705302225,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.common.ui_1.1.200.v200705302225.jar,4,false
org.eclipse.wst.common.uriresolver,1.1.203.v200802200327,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.common.uriresolver_1.1.203.v200802200327.jar,4,false
org.eclipse.wst.sse.core,1.1.203.v200802140626,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.sse.core_1.1.203.v200802140626.jar,4,false
org.eclipse.wst.sse.ui,1.0.305.v200802142230,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.sse.ui_1.0.305.v200802142230.jar,4,false
org.eclipse.wst.validation,1.1.102.v200709122200,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.validation_1.1.102.v200709122200.jar,4,false
org.eclipse.wst.xml.core,1.1.202.v200802140626,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.xml.core_1.1.202.v200802140626.jar,4,false
org.eclipse.wst.xml.ui,1.0.302.v200802140626,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.xml.ui_1.0.302.v200802140626.jar,4,false
org.eclipse.wst.xsd.core,1.1.202.v200710011705,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.wst.xsd.core_1.1.202.v200710011705.jar,4,false
org.eclipse.xsd,2.3.2.v200802051830,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.eclipse.xsd_2.3.2.v200802051830.jar,4,false
org.jbpm.gd.jpdl,3.1.3.SP2,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/plugins\org.jbpm.gd.jpdl_3.1.3.SP2.jar,4,false
org.jbpm.gd.jpdl.feature,3.1.3.SP2,file:/D:/jbpm-jpdl-3.2.3/designer/eclipse/features\org.jbpm.gd.jpdl.feature_3.1.3.SP2\,4,false
将得到的信息全部复制到E:\eclipse\configuration\org.eclipse.equinox.simpleconfigurator路径下的bundles.info文件中,重新启动IDE
进入window—>preferences,你会发现多出了JBoss jBPM项,在此的子项Runtime Locations中点击Add—>Add Location,Name随便设置,然后惦记Search按钮,找到之前的文件解压的路径,本人电脑上是D:/jbpm-jpdl-3.2.3,然后点击确定,惦记Apply—>OK~
到此为止就可以创建jBPM工程啦~