You'd need to build kie-cli-config and use the distribution (or download from the drools downloads page - it's part of the workbench download).

Furthermore; in response to your other questions, once you've built a project containing rules etc in the workbench a consuming application should use the generated JAR (that is deployed to the workbench's maven repository).

There have been lots of emails recently about how to achieve that.

If however you truely do need push the workbench clone of your repository you should be able to use kie-cli-config. Push is not exposed in the UI at present.

Sent on the move

On 12 Dec 2013 23:35, "anjana.ackroyd" <anjana.ackroyd@gmail.com> wrote:
I was able to do all my steps successfully on the work bench , Cloned my
repository, added a new project, package,drl file, build and deployed it.

I see wb created the repositories on my local machine which is good but I
dont see a way to push those changes to my cloned reposity

Git Push?
I am not even sure what branch of the cloned repository the work bench is
using


I noticed on this URL below there is recommendation to use the
./kie-config-cli.sh script to push changes
http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html/wb.Workbench.html

I downloaded the zip file from
https://github.com/droolsjbpm/kie-wb-distributions/tree/6.0.x

Ran the script from  \kie-config-cli\src\main\dist but I get a error message


Exception in thread "main" java.lang.NoClassDefFoundError:
org/kie/config/cli/CmdMain
Caused by: java.lang.ClassNotFoundException: org.kie.config.cli.CmdMain
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.kie.config.cli.CmdMain.  Program will
exit.



I was hoping there would be a way to push my changes from the Workbench UI
itself.







--
View this message in context: http://drools.46999.n3.nabble.com/How-to-push-changes-to-cloned-repo-on-Kie-Workbench-tp4027264.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users