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
- :
- "input line too long" on win2k cmd line bld
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
‎Sep 28, 2006
05:06 PM
"input line too long" on win2k cmd line bld
I'm trying to build from command line (actually a bat file that is run from an ODE Makefile) on Windows 2000. Since the class path for ISMP 11.5
is now huge compared to ISMP 5.x I am getting this error:
"The input line is too long."
I have tried trimming down the path some but still no luck. My teammate is builing on windows XP and does not have this problem Does anyone know a workaround for this? Is there anything I can set on Windows?
It's not pretty, but here is console output (The command displayed is truncated):
The input line is too long.
C:\sb\ldapdevsb\obj\x86_nt_5\packages\install-multplat\projectFiles>c:\sb\ldapdevsb\tools\x86_nt_5/compilers/ibm/java/1.4.2/bin/java.ex
e -cp "C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ppk\win32ppk.jar;C:\sb\ldapdevsb
\tools\common\is\ismp\11.5_sp1\lib\ppk\linuxppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ppk\solarisppk.jar;C:\sb\ldapdevs
b\tools\common\is\ismp\11.5_sp1\lib\ppk\hpuxppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ppk\aixppk.jar;C:\sb\ldapdevsb\to
ols\common\is\ismp\11.5_sp1\lib\ppk\as400ppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ppk\webppk.jar;C:\sb\ldapdevsb\tools
\common\is\ismp\11.5_sp1\lib\ppk\macosxppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ppk\genericunixppk.jar;C:\sb\ldapdevsb
\tools\common\is\ismp\11.5_sp1\distributables\platform\ext\windowsppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\distributables\
platform\ext\linuxppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\distributables\platform\ext\solarisppk.jar;C:\sb\ldapdevsb\tool
s\common\is\ismp\11.5_sp1\distributables\platform\ext\hpuxppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\distributables\platform
\ext\aixppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\distributables\platform\ext\as400ppk.jar;C:\sb\ldapdevsb\tools\common\is\
ismp\11.5_sp1\distributables\platform\ext\macosxppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\distributables\platform\ext\gener
icunixppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\classes;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\bootstrap.jar;C:\
sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\distributables\library\hsqldb.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ib5core.
jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ib5swing.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ib5util.jar;C:\sb\
ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\icebrowserbean.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\icebrowserlitebean.jar
;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ide.jar;>> ERROR: mk: *** Error code 255
>> ERROR: mk: "c:/sb/ldapdevsb/src/packages/install-multplat/projectFiles/Makefile.ode", line 95: shell command failed for target `win3
2bat'
is now huge compared to ISMP 5.x I am getting this error:
"The input line is too long."
I have tried trimming down the path some but still no luck. My teammate is builing on windows XP and does not have this problem Does anyone know a workaround for this? Is there anything I can set on Windows?
It's not pretty, but here is console output (The command displayed is truncated):
The input line is too long.
C:\sb\ldapdevsb\obj\x86_nt_5\packages\install-multplat\projectFiles>c:\sb\ldapdevsb\tools\x86_nt_5/compilers/ibm/java/1.4.2/bin/java.ex
e -cp "C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ppk\win32ppk.jar;C:\sb\ldapdevsb
\tools\common\is\ismp\11.5_sp1\lib\ppk\linuxppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ppk\solarisppk.jar;C:\sb\ldapdevs
b\tools\common\is\ismp\11.5_sp1\lib\ppk\hpuxppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ppk\aixppk.jar;C:\sb\ldapdevsb\to
ols\common\is\ismp\11.5_sp1\lib\ppk\as400ppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ppk\webppk.jar;C:\sb\ldapdevsb\tools
\common\is\ismp\11.5_sp1\lib\ppk\macosxppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ppk\genericunixppk.jar;C:\sb\ldapdevsb
\tools\common\is\ismp\11.5_sp1\distributables\platform\ext\windowsppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\distributables\
platform\ext\linuxppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\distributables\platform\ext\solarisppk.jar;C:\sb\ldapdevsb\tool
s\common\is\ismp\11.5_sp1\distributables\platform\ext\hpuxppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\distributables\platform
\ext\aixppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\distributables\platform\ext\as400ppk.jar;C:\sb\ldapdevsb\tools\common\is\
ismp\11.5_sp1\distributables\platform\ext\macosxppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\distributables\platform\ext\gener
icunixppk.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\classes;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\bootstrap.jar;C:\
sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\distributables\library\hsqldb.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ib5core.
jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ib5swing.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ib5util.jar;C:\sb\
ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\icebrowserbean.jar;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\icebrowserlitebean.jar
;C:\sb\ldapdevsb\tools\common\is\ismp\11.5_sp1\lib\ide.jar;>> ERROR: mk: *** Error code 255
>> ERROR: mk: "c:/sb/ldapdevsb/src/packages/install-multplat/projectFiles/Makefile.ode", line 95: shell command failed for target `win3
2bat'
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 03, 2006
02:17 PM
It is because of limit of command line size. You musts somehow decrease size of your command line. Try to use environment variables to set CLASSPATH or set CLASSPATH in other way if possible.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 13, 2006
01:00 AM
Funny, I just posted this for a different post, but it applies for yours, as well:
I strongly recommend that you use ant for your command line builds.
See this thread:
http://community.installshield.com/...ad.php?t=154893
Also, you can get ant here:
http://ant.apache.org
It's a bit more complicated than you're probably hoping for, but believe me it ends up making your life much simpler in the end.
cheers,
/gam/
I strongly recommend that you use ant for your command line builds.
See this thread:
http://community.installshield.com/...ad.php?t=154893
Also, you can get ant here:
http://ant.apache.org
It's a bit more complicated than you're probably hoping for, but believe me it ends up making your life much simpler in the end.
cheers,
/gam/
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)