comparison src/share/tools/ProjectCreator/ProjectCreator.java @ 12014:31f3b1e1c5e5

8016601: Unable to build hsx24 on Windows using project creator and Visual Studio Summary: ProjectCreator tool is modified to support two new options: '-relativeAltSrcInclude' and '-altRelativeInclude' which prevents IDE linker errors. Also fixed some cmd line build linker warnings. Misc cleanups. Reviewed-by: rdurbin, coleenp
author dcubed
date Thu, 08 Aug 2013 09:21:30 -0700
parents 7d42f3b08300
children 3cce976666d9
comparison
equal deleted inserted replaced
12013:195ff07bc7f6 12014:31f3b1e1c5e5
1 /* 1 /*
2 * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
37 + "-sourceBase. Example: HotSpotWorkSpace>"); 37 + "-sourceBase. Example: HotSpotWorkSpace>");
38 System.err.println(" -dllLoc <path to directory in which to put " 38 System.err.println(" -dllLoc <path to directory in which to put "
39 + "jvm.dll; no trailing slash>"); 39 + "jvm.dll; no trailing slash>");
40 System.err.println(" If any of the above are specified, " 40 System.err.println(" If any of the above are specified, "
41 + "they must all be."); 41 + "they must all be.");
42 System.err.println(" Note: if '-altRelativeInclude' option below is "
43 + "used, then the '-relativeAltSrcInclude' option must be used "
44 + "to specify the alternate source dir, e.g., 'src\\closed'");
42 System.err.println(" Additional, optional arguments, which can be " 45 System.err.println(" Additional, optional arguments, which can be "
43 + "specified multiple times:"); 46 + "specified multiple times:");
44 System.err.println(" -absoluteInclude <string containing absolute " 47 System.err.println(" -absoluteInclude <string containing absolute "
45 + "path to include directory>"); 48 + "path to include directory>");
49 System.err.println(" -altRelativeInclude <string containing "
50 + "alternate include directory relative to -envVar>");
46 System.err.println(" -relativeInclude <string containing include " 51 System.err.println(" -relativeInclude <string containing include "
47 + "directory relative to -envVar>"); 52 + "directory relative to -envVar>");
48 System.err.println(" -define <preprocessor flag to be #defined " 53 System.err.println(" -define <preprocessor flag to be #defined "
49 + "(note: doesn't yet support " + "#define (flag) (value))>"); 54 + "(note: doesn't yet support " + "#define (flag) (value))>");
50 System.err.println(" -perFileLine <file> <line>"); 55 System.err.println(" -perFileLine <file> <line>");