buildear command returns incorrect syantax error

buildear command returns incorrect syantax error

book

Article ID: KB0094727

calendar_today

Updated On:

Products Versions
TIBCO Runtime Agent (TRA) 5.10

Description

The buildear command returns the following exception:
An exception occurred while running the program
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
        at java.io.WinNTFileSystem.canonicalize0(Native Method)
        at java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428)
        at java.io.File.getCanonicalPath(File.java:618)
        at java.io.File.getCanonicalFile(File.java:643)
        at com.tibco.ae.tools.designer.cmdline.TempAliases.updateAliases(TempAli
ases.java:49)
        at com.tibco.ae.tools.palettes.archivebuilderpalette.ArchiveProject.exec
ute(ArchiveProject.java:104)
        at com.tibco.ae.tools.palettes.archivebuilderpalette.ArchiveProject.main
(ArchiveProject.java:42)
Aborting.

Environment

Windows

Resolution

Check the alias file for a syntax error in the library path. If the path looks right yet still results in an error, check for trailing blank spaces in every library path in the alias libraries file. If good and the .ear file could be built successfully in Designer, then trailing blank spaces are likely the culprit for the "incorrect syntax" error.

Issue/Introduction

buildear command returns: "java.io.IOException: The filename, directory name, or volume label syntax is incorrect"