cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
92
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: al montes on 09-02-2009 03:34:16 PM
In the studio, do the applications automatically infer the lib folder?  Or is this a way to point the app somewhere else?   In eclipse we are able to create our path and build a project but have not been able to do this in studio.  Any suggestions?

Subject: RE: classpath
Replied by: Janine Graves on 10-02-2009 07:13:16 PM
As far as I know, the Java code that creates Elements and Say it Smart plugins MUST be either in the deploy/java/app/classes or lib folder OR if you want them to be used by all applications, you can put them into C:\Cisco\CallStudio\eclipse\plugins\com.audiumcorp.studio.library.common_6.0.1\lib
Janine

Subject: RE: classpath
Replied by: Ranjana Narayan on 11-02-2009 08:31:06 AM
Agree with Janine, the studio automatically looks into /deploy/java/ (for the current application only) and VoiceXMLStudio/eclipse/plugins/com.audiumcorp.studio.library.common_x.x.x/ (for all applications).
More specifically all SayItSmart plugin and custom element java classes or jars should be placed into deploy/java/application/ while classes or jars that are used by the application but doesnot make use of any CVP API to be placed in the /deploy/java/util/ folder.
-
Ranjana.

Subject: RE: classpath
Replied by: Elam Birnbaum on 12-02-2009 12:03:26 AM
These answers are correct. I would like to add a few points.
In general you can control the classpath for an application server just like you control it through Eclipse. As Janine and Ranjana mentioned, VXML Server has certain specific places where you can place JARs that will be added to the classpath and be explicitly loaded by VXML Server. However there are many more options to place libraries in the classpath used by the application server and JVM. For example, Tomcat has a folder named common in which you can place JARs that are to be shared across all web applications. That folder is added to the classpath that Tomcat uses. Different application servers have different places for similar folders in which you can place libraries.
JVMs also have their own places where you can add custom JARs. Additionally it is possible to add to the classpath specific JARs by adding parameters sent to the JVM. When running in an application server that would require some editing of scripts that launch the application server or in the case of applicaiton servers such as IBM WebSphere there are ways to get at an admin page to add JVM paramaters or add to the classpath.
So overall it is easier to just use a VXML Server folder for JARs but there are many other options available to you for adding to the classpath.
Hope this helps

Subject: RE: classpath
Replied by: al montes on 13-02-2009 02:44:48 PM
Thanks. 
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links