So first I located the cfcodexamples database and copied the entire directory beneath my Railo root.
My Local Settings:
ACF: c:/dev/ColdFusion9/db/cfcodexamples/
Railo: c:/dev/railo321/db/cfcodeexamples/
Next I created the datasource. A quick search turned up these handy instructions for configuring an Apache Derby datasource on Railo, posted by Todd Rafferty.
1) First copy the derby.jar into {railo_server}\lib and restart Railo
My Local Settings:
c:/dev/railo321/lib/derby.jar
2) Create a new "Other" datasource in Railo. (As this was just for testing, I accepted all the default settings)
My Local Settings:
Name: cfdocexamplesClass: org.apache.derby.jdbc.EmbeddedDriverDsn: jdbc:derby:db/cfdocexamples;create=true
Note: The database path in the dsn is relative to the application root. I.e.
Root: c:/dev/railo321/
Database: c:/dev/railo321/db/cfcodexamples
Relative Path: db/cfdocexamples
Once I verified the datasource. I was able to run the same cfspreadsheet examples under my Railo install too. Now obviously there are differences between the two engines. So it would be silly to expect every tag example to work exactly the same. But I thought this was an easy way to run some quick comparisons between the two cfspreadsheet tags.
No comments:
Post a Comment