Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-releng] Path is too long in Build


The only work around I know is to use Linux :)

Here's some additional info that might be helpful.

First, there are some tasks that I've had to include in our builds that may be linux only ... I'd have to study/read the scripts to find them, but just thought I'd warn you.

The errors below might be a spot where the ant scripts call out to an external zip program (instead of using it's built in zip tasks) ... so, be sure you have a current/recent version of zip on your system ... I think some are better than others at handling long file names?

You can set a property to get the scripts to not try and normalize the jar files ... this is faster, and might avoid some of the path problems, if that's the only place you see them.
(And, for your "local" use, you wouldn't really need the jars normalized).
The best way to do this is to use a file named
buildutilities.properties
in your "local properties" directory

But, there's probably other places you can put it, in the end ...
normalizeJarFiles=false

Good luck





Trân Lê <tran.le@xxxxxxxxxx>
Sent by: wtp-releng-bounces@xxxxxxxxxxx

11/19/2007 11:18 AM

Please respond to
Webtools releng discussion list <wtp-releng@xxxxxxxxxxx>

To
Webtools releng discussion list <wtp-releng@xxxxxxxxxxx>
cc
Subject
[wtp-releng] Path is too long in Build





I am trying to build the Automated-Tests on XP, and I am running into an
issue when it tries to unpack the jars. It is complaining that the path
is too long and it's truncating (see error messages below).

I was wondering if anybody has a workaround for this problem on XP.
-Tran

[build-dali-dali.tests] unpackUpdateJarsAndCreateZippedPackages:
[build-dali-dali.tests] makeBackupCopyForDebugging:
[build-dali-dali.tests] init:
[build-dali-dali.tests] normalizeJarFiles:
[build-dali-dali.tests]      [echo] archiveDir:
R:/build/home/projects/dali-R3.0-I/workdir/archive
[build-dali-dali.tests]     [unzip] Expanding:
R:\build\home\projects\dali-R3.0-I\workdir\archive\wtp-jpt-Automated-Tests-I-2.0M3-200711180655.zip
into
R:\build\home\projects\dali-R3.0-I\workdir\tmpsite-wtp-jpt-Automated-Tests-I-2.0M3-200711180655.zip-temp
[build-dali-dali.tests] makeCopyForUpdate:
[build-dali-dali.tests]      [copy] Copying 418 files to
R:\build\home\projects\dali-R3.0-I\workdir\I-2.0M3-200711180655\updateSite
[build-dali-dali.tests] init:
[build-dali-dali.tests] createPackFilesIfDesired:
[build-dali-dali.tests] [unpackUpdateJars] [exec] unzip -qo
R:\build\home\projects\dali-R3.0-I\workdir\tmpsite-wtp-jpt-Automated-Tests-I-2.0M3-200711180655.zip-temp\eclipse\features\org.eclipse.jpt.tests.feature_1.1.0.v200709170000-31-7w311822161111.jar
-d
R:\build\home\projects\dali-R3.0-I\workdir\tmpsite-wtp-jpt-Automated-Tests-I-2.0M3-200711180655.zip-temp\unpacked\eclipse\features\org.eclipse.jpt.tests.feature_1.1.0.v200709170000-31-7w311822161111
[build-dali-dali.tests] [unpackUpdateJars] [exec] unzip -qo
R:\build\home\projects\dali-R3.0-I\workdir\tmpsite-wtp-jpt-Automated-Tests-I-2.0M3-200711180655.zip-temp\eclipse\features\org.eclipse.jpt.tests_1.1.0.v200709170000-10-4208x422933272222.jar
-d
R:\build\home\projects\dali-R3.0-I\workdir\tmpsite-wtp-jpt-Automated-Tests-I-2.0M3-200711180655.zip-temp\unpacked\eclipse\features\org.eclipse.jpt.tests_1.1.0.v200709170000-10-4208x422933272222
[build-dali-dali.tests] [unpackUpdateJars] [exec] unzip -qo
R:\build\home\projects\dali-R3.0-I\workdir\tmpsite-wtp-jpt-Automated-Tests-I-2.0M3-200711180655.zip-temp\eclipse\plugins\org.eclipse.jpt.utility.tests_1.1.0.jar
-d
R:\build\home\projects\dali-R3.0-I\workdir\tmpsite-wtp-jpt-Automated-Tests-I-2.0M3-200711180655.zip-temp\unpacked\eclipse\plugins\org.eclipse.jpt.utility.tests_1.1.0
[build-dali-dali.tests] [unpackUpdateJars] ERROR>checkdir warning:  path
too long; truncating
[build-dali-dali.tests] [unpackUpdateJars] ERROR>                  
org/eclipse/jpt/utility/tests/internal/model/listener/ReflectiveCollectionChangeListenerTests$Target.class
[build-dali-dali.tests] [unpackUpdateJars] ERROR>                ->
R:/build/home/projects/dali-R3.0-I/workdir/tmpsite-wtp-jpt-Automated-Tests-I-2.0M3-200711180655.zip-temp/unpacked/eclipse/plugins/org.eclipse.jpt.utility.tests_1.1.0/org/eclipse/jpt/utility/tests/internal/model/listener/ReflectiveCollectionChangeListenerTests$






_______________________________________________
wtp-releng mailing list
wtp-releng@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-releng


Back to the top