hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Task Runners in DTS package

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Command tasks and commandline
View previous topic :: View next topic  
Author Message
nkuo



Joined: 12 Jul 2006
Posts: 3

PostPosted: Thu Jul 20, 2006 11:37 am    Post subject: Task Runners in DTS package Reply with quote

Hi,

Does anyon have any experience using the task runner commands in DTS packages?

Thank you.
Back to top
View user's profile Send private message
melvin
Site Admin


Joined: 25 May 2006
Posts: 595
Location: Santa Barbara, california

PostPosted: Thu Jul 20, 2006 12:42 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Thu Jul 20, 2006 3:49 pm    Post subject: Reply with quote

(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
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Thu Jul 20, 2006 3:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Command tasks and commandline All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group