General XMetaL Discussion
tgoglia April 11, 2012 at 5:45 pm
Custom Menu to run Java AppApril 11, 2012 at 5:45 pmParticipants 0Replies 1Last Activity 10 years, 10 months ago
My team is moving to a new content manage system and will be using XMetal Author to edit content. I need to create an XMetal plugin in Java to communicate between the new CMS and our legacy system (both of which already have webservice clients written in Java).
I just want to confirm that in order to do this I MUST get a copy of both Visual Studio and XMetal developer. Is there another way to run the XMetal Java API Toolkit?
Toddtgoglia July 25, 2012 at 11:20 pm
Reply to: Custom Menu to run Java AppJuly 25, 2012 at 11:20 pm
In case anyone finds this, I thought I'd post my solution. As far as I can tell, its the only way to achieve what we're trying to do.
You don't actually need XMetal Developer or MS Visual Studio to develop against the XMetal API. You do, however, need two jar files that are only available via XMetal Developer: SQJavaAPI.jar and dom2.jar . Once I added these .jars to my project I was able to code and build my project in Eclipse. When testing in eclipse, I go the error message “No SQJNILib in java.library.path”, so I had to run the application from the commandline instead of the IDE.
var cmd = [command line text goes here]
WshShell = new ActiveXObject(“WScript.Shell”);
- You must be logged in to reply to this topic.