RoyZeng / red-piranha

Automatically exported from code.google.com/p/red-piranha
GNU General Public License v2.0
0 stars 0 forks source link

FileOutputStream Errors from GAE. #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I´ve followed the Instructions on 
http://code.google.com/p/red-piranha/wiki/DeveloperGettingStarted to set up the 
environment
2. I´m using Eclipse Helios and added all Drools Options from 
http://downloads.jboss.com/drools/updatesite3.5/
3. GAE is on version 1.4.

What is the expected output? What do you see instead?
There is the following errors as GAE doesn´t support Files.
java.io.FileOutputStream is not supported by Google App Engine's Java runtime 
environment Rp2CommandLine.java /red-piranha-read-only/src/net/firstpartners/rp2
    line 61 Google App Engine Java Problem

Original issue reported on code.google.com by tfu...@gmail.com on 12 Dec 2010 at 8:56

GoogleCodeExporter commented 9 years ago
@tfurch - you caught me with a version of the code that was not quite ready! 

Luckily, I've made modifications to the Drools to allow it to run in GAE. At 
the moment this is only for a sample based on the Excel Example from the book.
e.g. http://red-piranha.appspot.com/ 

This needs to be documented, but if you're proficient in Java, you should be 
able to follow the source code at - the code execution starts here; 
http://code.google.com/p/red-piranha/source/browse/trunk/src/net/firstpartners/r
p2/Rp2Servlet.java?r=79

The entire code can be checked out using Subversion.

For info, the changes made to the Core Drools Code to allow this are at;
http://code.google.com/p/red-piranha/wiki/ModifyDroolsRunInGoogleAppEngine

I'll leave this report open unit I update the instructions.

Original comment by paul.m.browne on 10 Jan 2011 at 11:10

GoogleCodeExporter commented 9 years ago

Original comment by paul.m.browne on 26 Jan 2011 at 11:42

GoogleCodeExporter commented 9 years ago

Original comment by paul.m.browne on 26 Jan 2011 at 11:43

GoogleCodeExporter commented 9 years ago

Original comment by paul.m.browne on 26 Jan 2011 at 11:44

GoogleCodeExporter commented 9 years ago
Code in Subversion updated - Better documentation on how to use (as a 
Developer) is on the wiki at 
http://code.google.com/p/red-piranha/wiki/DeveloperGettingStarted

Feedback welcome

Original comment by paul.m.browne on 7 Feb 2011 at 8:49