| View previous topic :: View next topic |
| Author |
Message |
nkuo
Joined: 12 Jul 2006 Posts: 3
|
Posted: Thu Jul 20, 2006 11:37 am Post subject: Task Runners in DTS package |
|
|
Hi,
Does anyon have any experience using the task runner commands in DTS packages?
Thank you. |
|
| Back to top |
|
 |
melvin Site Admin
Joined: 25 May 2006 Posts: 595 Location: Santa Barbara, california
|
Posted: Thu Jul 20, 2006 12:42 pm Post subject: |
|
|
Which version are you using? 6.x or 7.x?
Also indicate what is the commandline and working directory you are using. |
|
| Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Thu Jul 20, 2006 3:49 pm Post subject: |
|
|
(kuo emailed this reply to us)
7.x (eval edition)
Working directory is E:\Program Files\JaSFtp7
Command line "E:\Program Files\JaSFtp7\jre\bin\javaw.exe" -cp .;bin;help;activation.jar;bsh.jar;hitek7.jar;jakoro.jar;jh.jar;lax.jar;mail.jar;maverick-all.jar;net.jar com.hitek.engine.core.RunTask MLCustomerGet’’
Inside my DTS package it is a execute process task.
Win 32 process is: E:\Program Files\JaSFtp7\jre\bin\javaw.exe and parameter is -cp .;bin;help;activation.jar;bsh.jar;hitek7.jar;jakoro.jar;jh.jar;lax.jar;mail.jar;maverick-all.jar;net.jar com.hitek.engine.core.RunTask MLCustomerGet’’ |
|
| Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Thu Jul 20, 2006 3:50 pm Post subject: |
|
|
1) Make sure to remove the " at the end of MLCustomerGet. The " " should only be around "E:\Program Files\JaSFtp7\jre\bin\javaw.exe"
2) Also in the commandline we use, there is no commandline variables, so your entire process is the commandline.
i.e. for the win32 process try:
"E:\Program Files\JaSFtp7\jre\bin\javaw.exe" -cp .;bin;help;activation.jar;bsh.jar;hitek7.jar;jakoro.jar;jh.jar;lax.jar;mail.jar;maverick-all.jar;net.jar com.hitek.engine.core.RunTask MLCustomerGet
make sure to enter the working directory as:
"E:\Program Files\JaSFtp7"
3) If the above does not help, try to create a batch file (test.bat) with the following 2 lines of code:
cd "E:\Program Files\JaSFtp7"
jre\bin\javaw.exe" -cp .;bin;help;activation.jar;bsh.jar;hitek7.jar;jakoro.jar;jh.jar;lax.jar;mail.jar;maverick-all.jar;net.jar com.hitek.engine.core.RunTask MLCustomerGet
then run the batch file from DTS.. |
|
| Back to top |
|
 |
|