This is a known issue with building from the command line on Windows (it is a Windows limitation on the maximum length of the command line).

If you're using IDEA you can create a "classpath JAR" that packages the classpath into a JAR and uses this to build/compile/run.

We have the issue on our "to do" list (to create a maven profile that creates a "classpath JAR"; but we have not had the time at present to implement a solution.

If any community member wants to help we would be indebted.

With kind regards,

Mike


On 23 June 2014 11:08, LaKhI ReDdY!!!!!!!!!!! <reddy.lakshmi@gmail.com> wrote:

Hi ,

I am trying to run mvn clean install on the kie-wb-distributions-master source code, getting the below error.Please find the attachment for more details on the error.


C:\Users\reddyl\RECOSYS\BRMS6\kie-wb\kie-wb-webapp\target\.
generated, org.kie.workbench.FastCompiledKIEWebapp]: Error while executing process. Cannot run program "C:\Program Files\Java\jdk1.6.0_27\jre\bin\java
": CreateProcess error=206, The filename or extension is too long


could you please let me know any workaround on this issue?

Regards,
Lakshmi Reddy

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users