Skip to content

Make does not identify paths with spaces properly. #11

@tanvikini

Description

@tanvikini

While building openj9, if the path passed to the make command has a space in the middle, the make seems to be identifying the portion after the space as a target, causing the build the fail.

Here is a trace :

C:\Users\IBM_ADMIN\Desktop>"c:\Program Files (x86)\Microsoft Visual Studio 10.0
VC\vcvarsall.bat" amd64 && make -C C:\Users\IBM_ADMIN\git\openj9-systemtest\op
enj9.test.sharedClasses.jvmti/src/native SRCDIR=C:\Users\IBM_ADMIN\git\openj9-sy
stemtest\openj9.test.sharedClasses.jvmti/src/native PLATFORM=win_x86-64 JAVA_HOM
E=C:\Users\IBM_ADMIN\Desktop\Java Builds\sdk OUTDIR=C:\Users\IBM_ADMIN\git\openj9
-systemtest\openj9.test.sharedClasses.jvmti/bin/native
Setting environment for using Microsoft Visual Studio 2010 x64 tools.
make: Entering directory `C:/Users/IBM_ADMIN/git/openj9-systemtest/openj9.test.s
haredClasses.jvmti/src/native'

make: *** No rule to make target `Builds\sdk'. Stop.

make: Leaving directory `C:/Users/IBM_ADMIN/git/openj9-systemtest/openj9.test.sharedClasses.jvmti/src/native'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions