This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Errors in the Sample Code example
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 29, 2006
08:12 AM
Errors in the Sample Code example
I can not get the "SampleCode\AutomationLayer" to build correctly. I keep getting the error "java.lang.Error: factory already defined".
I would appreciate any assistance in getting this sample to work.
C:\Macrovision\IS11.5MP\HelpLibrary\SampleCode\AutomationLayer>run.bat C:\Macrovision\IS11.5MP
Compilation Completed
Buildfile: build.xml
build:
BUILD FAILED
java.lang.Error: factory already defined
Total time: 1 second
C:\Macrovision\IS11.5MP\HelpLibrary\SampleCode\AutomationLayer>
Here is the inforrmation from the SET command at the DOS prompt.
Here is the information I get from the set command
ALLUSERSPROFILE=C:\Documents and Settings\All Users
ANT_HOME=c:\Ant1.6.5
APPDATA=C:\Documents and Settings\Administrator\Application Data CLASSPATH=.;"C:\Macrovision\IS11.5MP\lib\bootstrap.jar";"C:\Macrovision\IS11.5MP\lib\builder.jar";"C:\Macrovision\IS11.5MP\distributables\engine\engine.jar";"C:\Macrovision\IS11.5MP";"C:\Macrovision\IS11.5MP\lib\parser.jar";"C:\Macrovision\IS11.5MP\distributables\library\hsqldb.jar";"C:\Macrovision\IS11.5MP\lib\ppk\aixppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\as400ppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\genericunixppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\hpuxppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\linuxppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\macosxppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\solarisppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\webppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\win32ppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\aixppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\as400ppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\genericunixppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\hpuxppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\linuxppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\macosxppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\solarisppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\windowsppk.jar";"C:\Ant1.6.5\lib"
ClusterLog=C:\WINDOWS\Cluster\cluster.log
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=MSPROJECT2003
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator
ISMPHOME=C:\Macrovision\IS11.5MP
JAVA_HOME=C:\jdk1.5.0_06
LOGONSERVER=\\MSPROJECT2003
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\AccuRev\bin;c:\Ant1.6.5\bin;C:\jdk1.5.0_06\bin;C:\Program Files\Microsoft SQL Server\80\Tools\BINN
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 8, GenuineIntel
PROCESSOR_LEVEL=15 PROCESSOR_REVISION=0308
ProgramFiles=C:\Program Files
PROMPT=$P$G
QAPHOOKS_INIDIR=C:\Program Files\Segue\SilkTest
SEGUE_HOME=C:\Program Files\Segue\SilkTest
SESSIONNAME=Console
SILK_CONFIG_PATH=C:\Program Files\Segue\cfg
SystemDrive=C: SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
USERDOMAIN=MSPROJECT2003
USERNAME=Administrator
USERPROFILE=C:\Documents and Settings\Administrator
windir=C:\WINDOWS
I would appreciate any assistance in getting this sample to work.
C:\Macrovision\IS11.5MP\HelpLibrary\SampleCode\AutomationLayer>run.bat C:\Macrovision\IS11.5MP
Compilation Completed
Buildfile: build.xml
build:
BUILD FAILED
java.lang.Error: factory already defined
Total time: 1 second
C:\Macrovision\IS11.5MP\HelpLibrary\SampleCode\AutomationLayer>
Here is the inforrmation from the SET command at the DOS prompt.
Here is the information I get from the set command
ALLUSERSPROFILE=C:\Documents and Settings\All Users
ANT_HOME=c:\Ant1.6.5
APPDATA=C:\Documents and Settings\Administrator\Application Data CLASSPATH=.;"C:\Macrovision\IS11.5MP\lib\bootstrap.jar";"C:\Macrovision\IS11.5MP\lib\builder.jar";"C:\Macrovision\IS11.5MP\distributables\engine\engine.jar";"C:\Macrovision\IS11.5MP";"C:\Macrovision\IS11.5MP\lib\parser.jar";"C:\Macrovision\IS11.5MP\distributables\library\hsqldb.jar";"C:\Macrovision\IS11.5MP\lib\ppk\aixppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\as400ppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\genericunixppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\hpuxppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\linuxppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\macosxppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\solarisppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\webppk.jar";"C:\Macrovision\IS11.5MP\lib\ppk\win32ppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\aixppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\as400ppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\genericunixppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\hpuxppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\linuxppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\macosxppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\solarisppk.jar";"C:\Macrovision\IS11.5MP\distributables\platform\ext\windowsppk.jar";"C:\Ant1.6.5\lib"
ClusterLog=C:\WINDOWS\Cluster\cluster.log
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=MSPROJECT2003
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator
ISMPHOME=C:\Macrovision\IS11.5MP
JAVA_HOME=C:\jdk1.5.0_06
LOGONSERVER=\\MSPROJECT2003
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\AccuRev\bin;c:\Ant1.6.5\bin;C:\jdk1.5.0_06\bin;C:\Program Files\Microsoft SQL Server\80\Tools\BINN
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 8, GenuineIntel
PROCESSOR_LEVEL=15 PROCESSOR_REVISION=0308
ProgramFiles=C:\Program Files
PROMPT=$P$G
QAPHOOKS_INIDIR=C:\Program Files\Segue\SilkTest
SEGUE_HOME=C:\Program Files\Segue\SilkTest
SESSIONNAME=Console
SILK_CONFIG_PATH=C:\Program Files\Segue\cfg
SystemDrive=C: SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
USERDOMAIN=MSPROJECT2003
USERNAME=Administrator
USERPROFILE=C:\Documents and Settings\Administrator
windir=C:\WINDOWS
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 29, 2006
04:08 PM
comment out line:
URL.setURLStreamHandlerFactory(new ISMPURLStreamHandlerFactory());
URL.setURLStreamHandlerFactory(new ISMPURLStreamHandlerFactory());
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 30, 2006
01:59 PM
Thank you
That did it.. 🙂
That did it.. 🙂
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)