Opened 14 years ago
Closed 14 years ago
#2647 closed defect (duplicate)
Build Process and commented templateCssPath
Reported by: | Michael Schall | Owned by: | alex |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | BuildSystem | Version: | 0.4.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Build process tries to intern css files even if the templateCssPath is commented out
dojo.widget.defineWidget("judo.widget.InfoBox", judo.widget.Input, { //Properties widgetType: "InfoBox", isContainer: false, templateString: '<span>' + '<label dojoAttachPoint="label" class="judo_infobox_label"></label>' + '<label dojoAttachPoint="input" class="judo_infobox_value"></label>' + '</span>', //templateCssPath: dojo.uri.dojoUri("../judo/widget/templates/HtmlInfoBox.css"), dataType: "", ...
The build errors:
[java] org.mozilla.javascript.WrappedException?: Wrapped java.io.FileNotFoun?
dException: ....judowidget emplatesHtmlInfoBox.css (The system cannot find the path specified) (../src/hostenv_rhino.js#170)
In my case, I need to remove the code since I have deleted the file, but the build should not include commented out includes.
Thanks
Change History (3)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
You will see the "interning resource path" messages in a build even if you do not have templates in dojo.js -- it is processing the widget files in the src/ directory. That is the source of those messages.
comment:3 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closing this bug as a dupe of #2429.
It actually looks like it "tries" to intern all widget support files.
I'm not including any of the below files in my profile... The build process tries to intern them.
I have looked through the built dojo.js and I can't find any extra code added, but was surprised to see the build even trying to include the files.