zhu001 Posted July 3, 2008 Share Posted July 3, 2008 Hi, In the distribution pack I see scripts for mysql and postgres only. I know I can get one with commercial version, but is there a way to generate it based on source beans? If yes, please give some directions... Thanks a lot! Link to comment Share on other sites More sharing options...
swood Posted July 7, 2008 Share Posted July 7, 2008 You can generate the repository database definition by building the source. Have a look at the source build guide. ShermanJaspersoft Link to comment Share on other sites More sharing options...
zhu001 Posted July 9, 2008 Author Share Posted July 9, 2008 Thank you. I'll do that Link to comment Share on other sites More sharing options...
firekat Posted September 9, 2008 Share Posted September 9, 2008 Okay, I'm trying to build the distribution from source, according to the source build guide.In the maven settings.xml file I'm not sure what to put for the following properties:<repository.database.driver.groupId><repository.database.driver.artifactId><repository.database.driver.version><js.quartz.script>as the example provided seems to be mysql specific.Could someone please be able to tell me what to set these to when building for oracle,Thanks,Andrew Link to comment Share on other sites More sharing options...
andrewsok Posted September 9, 2008 Share Posted September 9, 2008 Oracle is not supported by JasperServer version (it is supported by Pro). But it does not mean you cannot make it work.You need to use the following settings :<repository.database.driver.groupId>ojdbc</repository.database.driver.groupId><repository.database.driver.artifactId>ojdbc</repository.database.driver.artifactId><repository.database.driver.version>14</repository.database.driver.version><js.quartz.script>/home/devuser/js-src/jasperserver/scripts/quartz/tables_oracle.sql</js.quartz.script>But there is a "technical difficulty" here. Oracle's driver is not published in public repositories, only .pom file which has the following download linkhttp://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html(which didn't open for me, btw).If you try to build it as is, you'll get "Unable to download the artifact from any repository" error.You need to manually download ojdbc14.jar driver from the Oracle site, and then install it into the local repository by running the following command:mvn -o install:install-file -DgroupId=ojdbc -DartifactId=ojdbc -Dversion=14 -Dpackaging=jar -Dfile=<path-to-jodbc14.jar>After these steps you should be good to build. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now