It seems it’s the same code that successfully works for us, but something is certainly wrong. Why would not zip and you send us your entire(!) project HelloCustomerJava? Do you use Eclipse? Could you double-click on run.bat and send us the entire (not partial) output protocol?
-------------------------------
OpenRules Support
--
You received this message because you are subscribed to the Google Groups "OpenRules" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrules+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You would not have these problems if you use any Java IDE like Eclipse to work with your Java classes (like the most people usually do). However, using compile.bat and then run.bat you are supposed to be fine without IDE as well.
We tried to reproduce your error messages using only File Manager. First we deleted all *.class files inside bin/hello/ folder and then double-clicked on complie.bat. It successfully created all *.class files as you can see from this protocol:
Buildfile: C:\_SourceRepo\openrules.decisions\HelloCustomerJava\build.xml
compile.java:
[javac] C:\_SourceRepo\openrules.decisions\HelloCustomerJava\build.xml:36: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 3 source files to C:\_SourceRepo\openrules.decisions\HelloCustomerJava\bin
compile.xls:
[echo] dir=C:\_SourceRepo\openrules.decisions\HelloCustomerJava
[eval] Compiling file:C:\_SourceRepo\openrules.decisions\HelloCustomerJava/rules/main/Main.xls
[eval] INCLUDE=../include/Rules.xls
[eval] [../include/Rules.xls] has been resolved to [file:/C:/_SourceRepo/openrules.decisions/HelloCustomerJava/rules/include/Rules.xls]
[eval] Processing file:/C:/_SourceRepo/openrules.decisions/HelloCustomerJava/rules/include/Rules.xls
[eval] IMPORT.JAVA=hello.*
[eval] Completed file:C:\_SourceRepo\openrules.decisions\HelloCustomerJava/rules/main/Main.xls
compile:
BUILD SUCCESSFUL
Total time: 1 second
However, in your protocol the step “compile.java” is empty. Probably you did not install the correct version of Java: you need to install JDK not just Java Runtime – see http://decisionreasoner.com/pdf/OpenRulesInstallationGuide.pdf.
Please check your Java installation and try to follow our instructions again.
Support
From: open...@googlegroups.com [mailto:open...@googlegroups.com] On Behalf Of Ajaya Jose
Sent: Tuesday, September 12, 2017 8:15 PM
To: OpenRules <open...@googlegroups.com>
--
Hi,
I am trying to compile the HelloCustomer Package comes along with
standard openrule.decision pack. I ran the compile.bat exe and getting
the below Type not found error.
[eval] INCLUDE=../include/Rules.xls
[eval] [../include/Rules.xls] has been resolved to
Ajay,
HTTP Status 404 means Page Not Found Error. You application was not correctly deployed. We tried again to run our standard openrules.web/HelloJsp/deply.bat. It successfully deployed the project by creating the folder apache-tomcat/webapps/HelloJsp. When we double-click on run.html it successfully rans the web application. We can see that you modified build.properties to point to your Tomcat at C:\apache-tomcat-7.0.75. Check that its webapps contains HelloJsp.
Support
From: open...@googlegroups.com [mailto:open...@googlegroups.com] On Behalf Of Ajaya Jose
Sent: Friday, September 15, 2017 2:34 PM
To: OpenRules <open...@googlegroups.com>
--