[izpack-users] Updating db with INSTALL_PATH value

Yossi Baram yossiba at eldat.com
Mon Jan 9 13:01:27 CET 2006


Thanks man,
In my xml I use scripts that containe all my querys(sql files) and it
works fine,
 <sql driver="com.mysql.jdbc.Driver"
                        url="jdbc:mysql://localhost:3306/advantag_Ndb"
                        userid="root"
                        password=""  
                        autocommit="false">              
                        <classpath>
                                <pathelement
location="${BASE_SYSTEM}\Mysql\mysql-connector-java-3.1.10-bin.jar"></pa
thelement>
                        </classpath>             
                        <!-- Executing scripts -->
                        <transaction
src="${BASE_SYSTEM}\DBScripts\01-CreateEmptyDB.sql"/>
                        <transaction
src="${BASE_SYSTEM}\DBScripts\02-InsertPrimeData.sql"/>
                        <transaction
src="${BASE_SYSTEM}\DBScripts\04-InsertCaptionsData.sql"/>      
                </sql>  
 
My only problem is to send $INSTALL_PATH value to those files.
How do I send this variable via your solution, if I understand you right
you use bat file that implement the query, if so, how can outside
variables can be retrieved ?
Hope I'm understood.
Thanks
 
Yossi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20060109/21d6c7dd/attachment.html 


More information about the izpack-users mailing list