How can I access a custom code library in Java (JAR).

Discuss Task Sequences and Scripting related issues.

Postby melvin » Thu Jan 10, 2008 7:22 pm

1) To output to output log, use:
Script.out("test");

2) All jars in the main Automize folder are automatically added to classpath when launching the engine from user interface.

3) The other option is to launch the user interface and engine using batch files. Sample Automize.bat file is located in the main install folder. simply drop your .jar into Automize7 main folder and add the jar name to the launch code in the batch file.
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california

Postby melvin » Fri Jan 11, 2008 6:13 am

1) hitek7.jar also has an Automize class. rename the class and see if the error goes away..
2) what is the hierachy of the Automize class in your jar?
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california


Return to Task Sequences, Chains and Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

cron