Announcement Announcement Module
Collapse
No announcement yet.
build failed Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • build failed

    My first attempt to compile dmserver on windows resulted in a "BUILD FAILED" message due to a FileNotFoundException being thrown. Ant is apparently looking for a file based on the hostname (TEAM5) of the machine. Here is the text of the exception using ant in non-verbose mode:

    java.io.FileNotFoundException: C:\springsource-dm-server-sources-1.0.2.RELEASE\com.springsource.server.serviceabili ty\com.springsource.server.serviceability.ffdc\..\ ..\ivy-cache\resolution\resolved-com.springsource-com.springsource.server.serviceability.ffdc-working%40TEAM5.properties (The filename, directory name, or volume label syntax is incorrect

  • #2
    Before wasting too much time trying to diagnose this problem, it may be worth re-running using a much shorter root directory name (e.g. C:\dms) as Windows often has difficulty with long path names. At least this will eliminate a likely cause...

    Comment


    • #3
      Thanks for your reply. I made the change you suggested and that helped: the build now proceeds further than before. I'm now seeing an "impossible to resolve dependencies: resolve failed" message in the compile.init step of the build. Here is part of the "problems summary":

      [ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:cachepath] :: FAILED DOWNLOADS ::
      [ivy:cachepath] :: ^ see resolution messages for details ^ ::
      [ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:cachepath] :: org.eclipse.jdt#com.springsource.org.eclipse.jdt.c ore.compiler.batch;3.3.0!com.springsource.org.ecli pse.jdt.core.compiler.batch.jar
      [ivy:cachepath] :: org.eclipse.jdt#com.springsource.org.eclipse.jdt.c ore.compiler.batch;3.3.0!com.springsource.org.ecli pse.jdt.core.compiler.batch-sources.jar(src)
      [ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::


      Could this also be a long pathname problem? I'm using XP.

      Comment


      • #4
        There should be some output earlier in the build that relates to Ivy's attempt to resolve / download the JDT compiler. This output should offer some clues as to the cause of the problem.

        Comment


        • #5
          Here is the complete output for compile:init. Is it possible that the path names are still too long?

          compile.init:
          [ivy:cachepath] downloading s3://repository.springsource.com/ivy/bundles/external/org.eclipse.jdt/com.springsource.org.eclipse.jdt.core.compiler.bat ch/3.3.0/com.springsource.org.eclipse.jdt.core.compiler.bat ch-3.3.0.jar ...
          [ivy:cachepath] (1534kB)
          [ivy:cachepath] downloading s3://repository.springsource.com/ivy/bundles/external/org.eclipse.jdt/com.springsource.org.eclipse.jdt.core.compiler.bat ch/3.3.0/com.springsource.org.eclipse.jdt.core.compiler.bat ch-sources-3.3.0.jar ...
          [ivy:cachepath] (1201kB)
          [ivy:cachepath]
          [ivy:cachepath] :: problems summary ::
          [ivy:cachepath] :::: WARNINGS
          [ivy:cachepath] [FAILED ] org.eclipse.jdt#com.springsource.org.eclipse.jdt.c ore.compiler.batch;3.3.0!com.springsource.org.ecli pse.jdt.core.compiler.batch.jar: C:\dms\com.springsource.server.serviceability\com. springsource.server.serviceability.ffdc\..\..\ivy-cache\repository\org.eclipse.jdt\com.springsource. org.eclipse.jdt.core.compiler.batch\3.3.0\com.spri ngsource.org.eclipse.jdt.core.compiler.batch-3.3.0.jar.part (The filename, directory name, or volume label syntax is incorrect) (3875ms)
          [ivy:cachepath] [FAILED ] org.eclipse.jdt#com.springsource.org.eclipse.jdt.c ore.compiler.batch;3.3.0!com.springsource.org.ecli pse.jdt.core.compiler.batch-sources.jar(src): C:\dms\com.springsource.server.serviceability\com. springsource.server.serviceability.ffdc\..\..\ivy-cache\repository\org.eclipse.jdt\com.springsource. org.eclipse.jdt.core.compiler.batch\3.3.0\com.spri ngsource.org.eclipse.jdt.core.compiler.batch-sources-3.3.0.jar.part (The filename, directory name, or volume label syntax is incorrect) (2141ms)
          [ivy:cachepath] [FAILED ] org.eclipse.jdt#com.springsource.org.eclipse.jdt.c ore.compiler.batch;3.3.0!com.springsource.org.ecli pse.jdt.core.compiler.batch.jar: C:\dms\com.springsource.server.serviceability\com. springsource.server.serviceability.ffdc\..\..\ivy-cache\repository\org.eclipse.jdt\com.springsource. org.eclipse.jdt.core.compiler.batch\3.3.0\com.spri ngsource.org.eclipse.jdt.core.compiler.batch-3.3.0.jar.part (The filename, directory name, or volume label syntax is incorrect) (3875ms)
          [ivy:cachepath] ==== bundle-external-repository: tried
          [ivy:cachepath] s3://repository.springsource.com/ivy/bundles/external/org.eclipse.jdt/com.springsource.org.eclipse.jdt.core.compiler.bat ch/3.3.0/com.springsource.org.eclipse.jdt.core.compiler.bat ch-3.3.0.jar
          [ivy:cachepath] [FAILED ] org.eclipse.jdt#com.springsource.org.eclipse.jdt.c ore.compiler.batch;3.3.0!com.springsource.org.ecli pse.jdt.core.compiler.batch-sources.jar(src): C:\dms\com.springsource.server.serviceability\com. springsource.server.serviceability.ffdc\..\..\ivy-cache\repository\org.eclipse.jdt\com.springsource. org.eclipse.jdt.core.compiler.batch\3.3.0\com.spri ngsource.org.eclipse.jdt.core.compiler.batch-sources-3.3.0.jar.part (The filename, directory name, or volume label syntax is incorrect) (2141ms)
          [ivy:cachepath] ==== bundle-external-repository: tried
          [ivy:cachepath] s3://repository.springsource.com/ivy/bundles/external/org.eclipse.jdt/com.springsource.org.eclipse.jdt.core.compiler.bat ch/3.3.0/com.springsource.org.eclipse.jdt.core.compiler.bat ch-sources-3.3.0.jar
          [ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
          [ivy:cachepath] :: FAILED DOWNLOADS ::
          [ivy:cachepath] :: ^ see resolution messages for details ^ ::
          [ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
          [ivy:cachepath] :: org.eclipse.jdt#com.springsource.org.eclipse.jdt.c ore.compiler.batch;3.3.0!com.springsource.org.ecli pse.jdt.core.compiler.batch.jar
          [ivy:cachepath] :: org.eclipse.jdt#com.springsource.org.eclipse.jdt.c ore.compiler.batch;3.3.0!com.springsource.org.ecli pse.jdt.core.compiler.batch-sources.jar(src)
          [ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
          [ivy:cachepath]
          [ivy:cachepath]
          [ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
          [subant] Leaving directory: C:\dms\com.springsource.server.serviceability\com. springsource.server.serviceability.ffdc
          [subant] Leaving directory: C:\dms\com.springsource.server.serviceability\buil d-subsystem

          BUILD FAILED
          C:\dms\spring-build\multi-bundle\artifact.xml:45: The following error occurred while executing this line:
          C:\dms\build-common\multi-bundle-common.xml:10: The following error occurred while executing this line:
          C:\dms\spring-build\multi-bundle\artifact.xml:45: The following error occurred while executing this line:
          C:\dms\build-common\multi-bundle-common.xml:10: The following error occurred while executing this line:
          C:\dms\spring-build\standard\artifact.xml:16: impossible to resolve dependencies:
          resolve failed - see output for details

          Comment

          Working...
          X