View Full Version : Maximum file length allowed in project to copy to NI server
STPHN
August 26th, 2004, 09:06
hello,
A new project failed to copy to NI (5.7) server because of this file
F:\Program Files\IBM\WebSphere Studio\eclipse\plugins\org.eclipse.hyades.logging. commons.sample_1.0.3\archive\HyadesLoggingCommonsS ample\src\org\eclipse\hyades\logging\commons\sampl e
Is there a setting to increase the max allowed number of characters or a workaround ?
Thx
stephane
Support_1
August 26th, 2004, 17:09
This limitation is coming from Windows not NetInstall.
STPHN
August 27th, 2004, 13:12
Ok, thx. Is there a workaround ?
Ryan.Gray
August 31st, 2004, 16:13
Looks like your doing IBM WebSphere Studio Application Developer 5.1
Here are the variables I used to get through this.
!Variables
Set('_WebSphere','%ProgramFilesDir%\IBM\WebSphere Studio\Application Developer\v5.1')
Set('_Plugins','%ProgramFilesDir%\IBM\WebSphere Studio\Application Developer\v5.1\eclipse\plugins')
Set('_Plugin2','%ProgramFilesDir%\IBM\WebSphere Studio\Application Developer\v5.1\wstools\eclipse\plugins')
Set('_RunTime','%ProgramFilesDir%\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5')
I had to intially get them as user defiened variables in NI, then during the spy I made sure to check them to be used.
Once the spy was completed I removed them from NI and created the variables in the project.
Hope this helps.
STPHN
September 21st, 2004, 15:40
thx.
STPHN
September 22nd, 2004, 15:04
Hello,
as recommended I created 4 new variables (clicked on edit - variables from this db -
new - gave it a name in name pasted Set('_WebSphere','%ProgramFilesDir%\IBM\WebSphere Studio\Application Developer\v5.1') in value ...
clicked them during the spy but it still fails when trying to copy to ni server.
any workaround ?
thx in advance
stephane
Ryan.Gray
September 22nd, 2004, 15:08
during the spy did you click and choose to make sure those variables were used?
STPHN
September 22nd, 2004, 15:27
Yep, certainly did..
Ryan.Gray
September 22nd, 2004, 15:34
Assuming its still failing on copies from the length of the characters you might need to use a database with a shorter name.
Example, I spied the application in a database named ryan
so the server share was
\\niserver\netinstall\work\ryan\
when i moved to production
\\niserver\netinstall\work\developer applications\
Upset NI greatly
so I got annyoed and created a special DB for times just like this called A
very creative i know but it worked :)
so then it went much better.
Otherwise all i can suggest is keep at it by adding more variables to shorten stuff up as you spy.
STPHN
September 23rd, 2004, 09:20
no luck. it looks like NetInstall does not like copying long file names.
STPHN
September 30th, 2004, 14:50
dead easy:
1) initial spy
2) install software
3) zip it
4) create self extractable files
5) spy again.... bingo
dont i wish support had suggested this ...
ryan, thx for your help
stephane
vBulletin v3.6.7, Copyright ©2000-2012, Jelsoft Enterprises Ltd.