DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40887>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40887





------- Additional Comments From [EMAIL PROTECTED]  2006-11-05 21:21 -------
Hi all,
Below is the code i am using:-

<target name="copy.licensejar">
 <copy todir="${installkit.lib.dir}" file="${ai.db2.licensejar}" 
   verbose="true" overwrite="true" failonerror="true"/>
 <path id="project.class.path">
  <pathelement location="./resources"/>
  <fileset dir="./installlib/" includes="*.jar"/>                       
 </path>                
 <property name="project.class.path" refid="project.class.path"/>
 <echo message="the value is :- ${project.class.path}"/>
</target>
<target name="verify.database.access">
 <echo message="the project.class.path is :- ${project.class.path}"/>
 <echo message="Check whether database can be reached: ${db.url} 
  userid=${ai.db.username}"/>
 <sql driver="${db.driver.name}" url="${db.url}" userid="${ai.db.username}" 
  password="${ai.db.password}" onerror="abort">
  "select current_timestamp from sysibm.sysdummy1"
 </sql>
</target>
<target name="verify.input" depends="copy.licensejar,verify.database.access"/>


My Installer calls target "verify.input" which 
depepnds on copy.licensejar,verify.database.access targets.
now <echo message="the project.class.path is :- ${project.class.path}"/>
line prints the classpath which inlcudes db2jcc_license_cu.jar also.  
        

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to