#18654 closed defect (invalid)
buildUtil.js is not defined.
Reported by: | rgodse | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | BuildSystem | Version: | 1.10.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I am trying to upgrade dojo from 1.5 to dojo 1.10.4. During my build step, I am running the clean and release actions which reference build.js present at 'dojo-release-1.10.4-src/util/buildscripts/build.js'. I see this file has reference to buildUtil.js which is no more shipped with dojo. #15263 mentions a similar issue where you have removed the reference to buildUtil.js. Am I missing something or this is a bug?
Change History (3)
comment:1 Changed 7 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 7 years ago by
This is my step in build.xml <java
dir="dojo-release-1.10.4-src/util/buildscripts" classname="org.mozilla.javascript.tools.shell.Main" fork="true" failonerror="true" maxmemory="512m"
<arg value="build.js"/> <arg value="profile=messageStudio"/> <arg value="action=clean,release"/> <arg value="optimize=shrinksafe"/> <arg value="copyTests=false"/> <arg value="version=dojo-1.10.4_ms"/> <arg value="cssOptimize=comments"/> <classpath>
<fileset dir="dojo-release-1.10.4-src/util/shrinksafe">
<include name="/*.jar"/>
</fileset>
</classpath>
</java>
I provide build.js as one of the arguments here.
As per your comment, if I remove that argument, it throws an error 'profile=messageStudio' file not found. Basically I believe it expects first argument as the file name. Also I couldn't find main.js at the path you mentioned.
comment:3 Changed 7 years ago by
OK, well like I said, you are using the old build script when you should be using the new one. If you need help in running a build from ant (or whatever that is), you can see what build.sh does to run a build, and then do the same thing in your ant script.
If that doesn't work, you can try asking on the dojo-interest mailing list.
I'm pretty sure the problem is that you are using the old build scripts instead of the new scripts. If you run something like this:
Then AFAICT it doesn't even load util/buildscripts/build.js. I confirmed this by removing file, and the build still seems to run fine.
The
build.sh
script runs:which apparently is loading util/build/main.js.