Forum Discussion
Keith_Motschenb
Nimbostratus
Feb 09, 2006Finding the iControl.jar file
I noticed on some of the messages on the forum that there is a iControl.jar file. I have been trying to compile the 9.2.2 Java examples and keeps complaining about finding that jar file. Could you please tell me where this jar file is located?
- The samples should not complain about an iControl.jar file. The only requre jars are the ones included with Apache Axis.
- Keith_Motschenb
Nimbostratus
Thanks for the info. I am running on a Windows XP. I am currently setting this to run in my Eclipse IDE and using JBoss as the web server. I kinda of figured that I would need to put the generated class files in its own iControl.jar file. I was looking for a nice and easy solution. - Posted By keithmot on 2/10/2006 8:27 AM
@Echo Off SetLocal Set TOPDIR=..\..\..\..\.. Set SUBDIRS=LocalLB Management Networking System call setenv.bat Set BINDINGS_DIR=.\bindings Set CLASS_DIR=.\class Set LIB_DIR=.\Lib Set WSDL2JAVA=%JAVAHOME%\bin\java -classpath %JAVA_CLASSPATH% org.apache.axis.wsdl.WSDL2Java Set WSDL2JAVA_FLAGS= -o %BINDINGS_DIR% If "%1"=="clean" Goto Clean :checkdirs If Not Exist %BINDINGS_DIR%\iControl Goto bindings If Not Exist %LIB_DIR%\iControl.jar Goto buildlib Goto samples :bindings Echo Generating java stub files... If Not Exist %BINDINGS_DIR%\NUL mkdir %BINDINGS_DIR% For %%s in ( %TOPDIR%\wsdl\*.wsdl ) do echo Compiling %%s...& %WSDL2JAVA% %WSDL2JAVA_FLAGS% %%s If Not Exist %LIB_DIR%\iControl.jar goto buildlib Goto samples :buildlib If Not Exist %LIB_DIR%\NUL mkdir %LIB_DIR% If Not Exist %CLASS_DIR%\NUL mkdir %CLASS_DIR% Echo Compiling iControl binding files... for %%s in ( %BINDINGS_DIR%\iControl\*.java ) do echo %%s & javac -classpath %BINDINGS_DIR% -d %CLASS_DIR% %%s for %%s in ( %BINDINGS_DIR%\iControl\holders\*.java ) do echo %%s & javac -classpath %BINDINGS_DIR% -d %CLASS_DIR% %%s Echo Creating iControl.jar... cd %CLASS_DIR% jar cvf ..\lib\iControl.jar iControl Cd .. Goto samples :samples Echo Building Sample Applications... For %%d in (%SUBDIRS%) do cd %%d& call make.bat& cd .. Goto End :clean If Exist %BINDINGS_DIR%\NUL rmdir /s /q %BINDINGS_DIR% If Exist %CLASS_DIR%\NUL rmdir /s /q %CLASS_DIR% If Exist %LIB_DIR%\NUL rmdir /s /q %LIB_DIR% For %%d in (%SUBDIRS%) do cd %%d& call make.bat clean& cd .. Goto End :end EndLocal
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects