#13301 closed defect (fixed)
build.sh "help text" not very helpful anymore
Reported by: | Karl Tiedt | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | BuildSystem | Version: | 1.7.0b1 |
Keywords: | build.sh | Cc: | |
Blocked By: | Blocking: |
Description
a few things I noticed when trying to make a build from a trunk checkout
1) build.sh dumps to node or java right away, node did not appear to dump help text completely (I had to run java by hand to get build options listed because you cant tell build.sh to use one or the other (node vs java)
2) the help text says you can use --[option] [value] which does not work for example: "build.sh --profile profileName" will say no profile specified...
Can we please get this back on par with the level of clarity of previous build tools?
Change History (11)
comment:1 Changed 10 years ago by
Status: | new → assigned |
---|
comment:2 Changed 10 years ago by
Milestone: | tbd → 1.7 |
---|
comment:3 Changed 10 years ago by
comment:5 Changed 10 years ago by
Priority: | normal → high |
---|---|
severity: | normal → blocker |
comment:7 follow-up: 8 Changed 10 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
this is still broken - help text is cut off when running ./build.sh --help
(let me know if you want the output of this)
EDIT: this is using node
comment:8 Changed 10 years ago by
Replying to neonstalwart:
this is still broken - help text is cut off when running
./build.sh --help
(let me know if you want the output of this)EDIT: this is using node
I just tried this again, and it's working perfectly on my machine (using node also). Can you attach output).
comment:9 Changed 10 years ago by
[email protected] ~/svn/dojo/util/buildscripts » ./build.sh --help builder wrapper USAGE: ./build.sh [bin=node|java] BUILDER_OPTIONS By default, if first argument does not start with "bin=", node will be used if available. running under node.js Read, process, and write a set of resources as constructed by a profile. Usage with node.js: node path/to/dojo/dojo.js load=build [options] Usage with java: java -Xms256m -Xmx256m -jar path/to/util/shrinksafe/js.jar path/to/dojo/dojo.js baseUrl=path/to/dojo load=build [options] Usage with the build script on non-windows: IMPORTANT: the util/buildscripts directory must be the current working directory ./build.sh [options] Usage with the build script on windows: IMPORTANT: the util/buildscripts directory must be the current working directory build.bat [options] IMPORTANT: This program assumes the default directory structure provided with the standard dojo source release. IMPORTANT: When using v1.6- profiles, this program assumes the current working directory is utils/buildscripts. Options: -p <filename> --profile <filename> read profile for file -p <profile> --profile <profile> read profile from profile in util/buildscripts/profiles --package <path> read profile from package.json located in the directory path -r --require <filename> --dojoConfig read profile from loader configuration --htmlFiles <file-list> deduce profile from HTML file(s); file-list is a comma-separated list of filenames --htmlDir <path> deduce profile from all HTML files in directory at path --check print computed profile --debug-check print computed profile, including internal structures --release process the build control script(s) and/or profile(s) and transform sources into a release --releaseDir <path> base directory for build output --releaseName <string> path segment to append to releaseDir that gives base directory for build output --writeProfile <filename> write the processed profile to filename --version <id> stamp build with id; defaults to "0.0.0.dev" --copyTests Copy test files and the DOH package. --mi% [email protected] ~/svn/dojo/util/buildscripts »
In [26039]: