Fork me on GitHub

n. Slang a rough lawless young Kuali developer.
[perhaps variant of Houlihan, Irish surname]
kualiganism n

Blog of an rSmart Java Developer. Full of code examples, solutions, best practices, et al.

Saturday, July 23, 2011

Lightning IMPEX

Screencast

I put together a screencast that shows how a certain branch of the impex tool is really really fast and resource friendly for KFS 3.0 installations. Here it is.



Steps


1 Get kfs-cfg-dbs

$ svn co https://test.kuali.org/svn/kfs-cfg-dbs/branches/release-3-0-1/ kfs-cfg-dbs-3-0-1

2 Get rice-cfg-dbs

$ svn co https://test.kuali.org/svn/rice-cfg-dbs/branches/rice-release-1-0-1-1-br rice-cfg-dbs-1-0-1-1

3 Get kul-cfg-dbs

$ svn co https://test.kuali.org/svn/kul-cfg-dbs/branches/kul-handle_dollar_signs_in_tables-br kul-cfg-dbs

4 Copy sample properties file

$ cp impex/impex-build.properties.sample $HOME/rice-impex-build.properties 
$ cp impex/impex-build.properties.sample $HOME/kfs-impex-build.properties

5 Copy library file

$ cd kul-cfg-dbs/impex;
$ cp kuali-impextasks.jar lib

6 Run import in rice-cfg-dbs

$ cd rice-cfg-dbs-1-0-1-1;
$ export ANT_OPTS="-Xmx2048m -XX:MaxPermSize=256m"
$ ant -f ../kul-cfg-dbs/build.xml -Dimpex.build.properties=$HOME/rice-impex-build.properties import

7 Run import in kfs-cfg-dbs

$ cd kfs-cfg-dbs-3-0-1;
$ ant -f ../kul-cfg-dbs/build.xml -Dimpex.build.properties=$HOME/kfs-impex-build.properties import

No comments:

Post a Comment