|
List Info
Thread: Dojo build issues
|
|
| Dojo build issues |

|
2006-12-31 14:53:29 |
Alex,
I am still getting the
[java] js: "buildUtil.js", line 310:
exception from uncaught JavaScript throw: Cannot create
flattened bundle for src file:
/usr/home/mortbay/src/dojo/release/dojo/src/widget/nls/Dropd
ownTimePicker.js
error.
I get this on two ubuntu edgy machines - one of which had
never built dojo before (so the ant
stuff was re-initialized).
I just tried it on FreeBSD jetty4.inetu.net 6.1-RELEASE-p1
FreeBSD 6.1-RELEASE-p1
with Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0-p3-toor_13_jul_2006_16_05)
and Apache Ant version 1.6.5 compiled on June 2 2005
and got exactly the same issue.
cheers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-dev googlegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev
Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---
|
|
| Dojo build issues |

|
2006-12-31 22:54:28 |
On 12/31/06, Greg Wilkins <gregw.webtide gmail.com> wrote:
>
>
> Alex,
>
> I am still getting the
>
> [java] js: "buildUtil.js", line 310:
exception from uncaught JavaScript throw: Cannot create
flattened bundle for src file:
/usr/home/mortbay/src/dojo/release/dojo/src/widget/nls/Dropd
ownTimePicker.js
>
> error.
>
> I get this on two ubuntu edgy machines - one of which
had never built dojo before (so the ant
> stuff was re-initialized).
>
> I just tried it on FreeBSD jetty4.inetu.net
6.1-RELEASE-p1 FreeBSD 6.1-RELEASE-p1
> with Java(TM) 2 Runtime Environment, Standard Edition
(build 1.5.0-p3-toor_13_jul_2006_16_05)
> and Apache Ant version 1.6.5 compiled on June 2 2005
>
> and got exactly the same issue.
>
> cheers
Greg,
Hi, I'm James Burke, and I do some work on the Dojo build
process.
In case Alex hasn't already solved this, what profile are
you trying
to build, and what is the command you are using to build?
What version
of Dojo are you trying to build? How did you get the Java
source?
I just tried on Edgy, fresh dojo install (ant stuff
re-initialized). I
am building against Dojo trunk, and ran the following
commands
successfully:
> ant -Dprofile=kitchen_sink -Ddocless=true
-DreleaseName=kitchen_sink clean release
> ant -Dprofile=ajax -Ddocless=true -DreleaseName=ajax
clean release
I am using Java 1.5 and Ant 1.6.5. Another thing to check,
is the path
for the file mentioned in your error. Does it exist? Does it
have
weird permissions? It does seem like an odd error. That file
should be
there.
James
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-dev googlegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev
Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---
|
|
| Dojo build issues |

|
2007-01-01 09:29:29 |
Hey james,
Happy new year!
I'm building dojo trunk - rev 6965 on ubuntu edgy (and tried
on freeBSD)
with java version "1.5.0_08"
I cd to buildscripts and have used several commands
including
just build.sh. I just tried:
ant -Dprofile=kitchen_sink -Ddocless=true
-DreleaseName=kitchen_sink clean release
and got
-flatten-resources:
[copy] Copying 1 file to
/home/gregw/src/dojo/release/kitchen_sink
[java] js: "buildUtil.js", line 310:
exception from uncaught JavaScript throw: Cannot create
flattened bundle for src file:
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
The file exists OK:
[536] ls -l
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
-rw-rw-r-- 1 gregw gregw 90 2006-12-05 15:05
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
[537] cat
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
({
itemDescription: "This is the description of
this demo.",
categories: "Categories"
})
I have tried moving away my .ant directory, but I get the
same thing once the libraries have been put
back in.
Is there some debug I can turn on for this?
cheers
James Burke wrote:
>
> On 12/31/06, Greg Wilkins <gregw.webtide gmail.com> wrote:
>>
>>
>> Alex,
>>
>> I am still getting the
>>
>> [java] js: "buildUtil.js", line 310:
exception from uncaught
>> JavaScript throw: Cannot create flattened bundle
for src file:
>>
/usr/home/mortbay/src/dojo/release/dojo/src/widget/nls/Dropd
ownTimePicker.js
>>
>>
>> error.
>>
>> I get this on two ubuntu edgy machines - one of
which had never built
>> dojo before (so the ant
>> stuff was re-initialized).
>>
>> I just tried it on FreeBSD jetty4.inetu.net
6.1-RELEASE-p1 FreeBSD
>> 6.1-RELEASE-p1
>> with Java(TM) 2 Runtime Environment, Standard
Edition (build
>> 1.5.0-p3-toor_13_jul_2006_16_05)
>> and Apache Ant version 1.6.5 compiled on June 2
2005
>>
>> and got exactly the same issue.
>>
>> cheers
>
> Greg,
>
> Hi, I'm James Burke, and I do some work on the Dojo
build process.
>
> In case Alex hasn't already solved this, what profile
are you trying
> to build, and what is the command you are using to
build? What version
> of Dojo are you trying to build? How did you get the
Java source?
>
> I just tried on Edgy, fresh dojo install (ant stuff
re-initialized). I
> am building against Dojo trunk, and ran the following
commands
> successfully:
>
>> ant -Dprofile=kitchen_sink -Ddocless=true
-DreleaseName=kitchen_sink
>> clean release
>
>> ant -Dprofile=ajax -Ddocless=true
-DreleaseName=ajax clean release
>
> I am using Java 1.5 and Ant 1.6.5. Another thing to
check, is the path
> for the file mentioned in your error. Does it exist?
Does it have
> weird permissions? It does seem like an odd error. That
file should be
> there.
>
> James
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-dev googlegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev
Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---
|
|
| Dojo build issues |

|
2007-01-02 00:19:09 |
Hi Greg,
Happy New Year to you too.
For this particular piece of code, there isn't a real debug
switch,
but the failure is happening in buildscripts/buildUtil.js,
in the
buildUtil.makeFlatBundleContents function. There are some
commented
out print statements you can uncomment to get more info.
This piece of code is a newer piece of the build system, so
we don't
have a lot of experience troubleshooting problems with it.
The only thing I can think of is perhaps there is another
Rhino jar in
your classpath that might not work correctly with the JS
code we are
trying to run.
You can try uncommenting out the print statements in the
function
mentioned above, and also try clearing your classpath so
that only the
jars that Dojo wants are used. Unfortunately, I'm not too
familiar
with Ant to give you definitive directions on how to do
that. Maybe
just make sure the CLASSPATH env variable is clear before
running the
task.
James
On 1/1/07, Greg Wilkins <gregw.webtide gmail.com> wrote:
>
>
> Hey james,
>
> Happy new year!
>
> I'm building dojo trunk - rev 6965 on ubuntu edgy (and
tried on freeBSD)
> with java version "1.5.0_08"
>
> I cd to buildscripts and have used several commands
including
> just build.sh. I just tried:
>
> ant -Dprofile=kitchen_sink -Ddocless=true
-DreleaseName=kitchen_sink clean release
>
> and got
>
> -flatten-resources:
> [copy] Copying 1 file to
/home/gregw/src/dojo/release/kitchen_sink
> [java] js: "buildUtil.js", line 310:
exception from uncaught JavaScript throw: Cannot create
flattened bundle for src file:
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
>
> The file exists OK:
>
> [536] ls -l
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
> -rw-rw-r-- 1 gregw gregw 90 2006-12-05 15:05
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
>
> [537] cat
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
> ({
> itemDescription: "This is the description
of this demo.",
> categories: "Categories"
> })
>
> I have tried moving away my .ant directory, but I get
the same thing once the libraries have been put
> back in.
>
> Is there some debug I can turn on for this?
>
> cheers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-dev googlegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev
Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---
|
|
| Dojo build issues |

|
2007-01-02 13:28:47 |
James,
Can you give me quick description of the build process
and what all the files are doing... I have tried to debug
this
a little bit, but it is hard without knowing what the build
process is actually doing.
I uncommented the prints and turned them into
System.err.printlns
Not much help:
list-profile-deps:
[list-profile-deps] dojoGuardStart.js,
[list-profile-deps] ../src/bootstrap1.js,
[list-profile-deps] ../src/loader.js,
[list-profile-deps] dojoGuardEnd.js,
[list-profile-deps] ../src/hostenv_browser.js,
[list-profile-deps] ../src/bootstrap2.js,
[list-profile-deps] ../__package__.js,
[list-profile-deps] ../src/lang/common.js,
[list-profile-deps] ../src/dom.js,
[list-profile-deps] ../src/html/common.js,
[list-profile-deps] ../src/uri/Uri.js,
[list-profile-deps] ../src/html/style.js,
[list-profile-deps] ../src/html/__package__.js,
[list-profile-deps] ../src/html/display.js,
[list-profile-deps] ../src/html/layout.js,
[list-profile-deps] ../src/html/util.js,
[list-profile-deps] ../src/lang/array.js,
[list-profile-deps] ../src/gfx/color.js,
[list-profile-deps] ../src/lang/func.js,
[list-profile-deps] ../src/lfx/Animation.js,
[list-profile-deps] ../src/html/color.js,
[list-profile-deps] ../src/lfx/html.js,
[list-profile-deps] ../src/lfx/__package__.js,
[list-profile-deps] ../src/lang/extras.js,
[list-profile-deps] ../src/event/common.js,
[list-profile-deps] ../src/event/topic.js,
[list-profile-deps] ../src/event/browser.js,
[list-profile-deps] ../src/event/__package__.js,
[list-profile-deps] ../src/lang/declare.js,
[list-profile-deps] ../src/logging/Logger.js,
[list-profile-deps] ../src/logging/__package__.js,
[list-profile-deps] ../src/string/common.js,
[list-profile-deps] ../src/string.js,
[list-profile-deps] ../src/io/common.js,
[list-profile-deps] ../src/string/extras.js,
[list-profile-deps] ../src/undo/browser.js,
[list-profile-deps] ../src/io/BrowserIO.js,
[list-profile-deps] ../src/io/cookie.js,
[list-profile-deps] ../src/io/__package__.js,
[list-profile-deps] ../src/uri/__package__.js,
[list-profile-deps] ../src/io/IframeIO.js,
[list-profile-deps] ../src/string/Builder.js,
[list-profile-deps] ../src/string/__package__.js,
[list-profile-deps] ../src/AdapterRegistry.js,
[list-profile-deps] ../src/json.js,
[list-profile-deps] ../src/Deferred.js,
[list-profile-deps] ../src/rpc/RpcService.js,
[list-profile-deps] ../src/rpc/JsonService.js,
[list-profile-deps] ../src/rpc/__package__.js,
[list-profile-deps] ../src/xml/Parse.js,
[list-profile-deps] ../src/xml/__package__.js,
[list-profile-deps] ../src/undo/Manager.js,
[list-profile-deps] ../src/undo/__package__.js,
[list-profile-deps] ../src/crypto.js,
[list-profile-deps] ../src/crypto/MD5.js,
[list-profile-deps] ../src/crypto/__package__.js,
[list-profile-deps] ../src/collections/Collections.js,
[list-profile-deps] ../src/collections/ArrayList.js,
[list-profile-deps] ../src/collections/Queue.js,
[list-profile-deps] ../src/collections/Stack.js,
[list-profile-deps] ../src/dnd/DragAndDrop.js,
[list-profile-deps] ../src/dnd/HtmlDragManager.js,
[list-profile-deps] ../src/html/selection.js,
[list-profile-deps] ../src/html/iframe.js,
[list-profile-deps] ../src/dnd/HtmlDragAndDrop.js,
[list-profile-deps] ../src/dnd/__package__.js,
[list-profile-deps] ../src/ns.js,
[list-profile-deps] ../src/widget/Manager.js,
[list-profile-deps] ../src/a11y.js,
[list-profile-deps] ../src/widget/Widget.js,
[list-profile-deps] ../src/widget/Parse.js,
[list-profile-deps] ../src/widget/DomWidget.js,
[list-profile-deps] ../src/lfx/toggler.js,
[list-profile-deps] ../src/widget/HtmlWidget.js,
[list-profile-deps] ../src/widget/__package__.js,
[list-profile-deps] ../src/math.js,
[list-profile-deps] ../src/math/curves.js,
[list-profile-deps] ../src/math/points.js,
[list-profile-deps] ../src/math/__package__.js
compress:
[compress] profileFile: profiles/kitchen_sink.profile.js
[compress] Setting version for Dojo to: 0.0.0.dev
[compress] Removing dojo.require calls in
source.__package__.js.
-flatten-resources:
[copy] Copying 1 file to
/home/gregw/src/dojo/release/kitchen_sink
[java] getBundlePartsFromFileName
dojo,../src,/home/gregw/src/dojo/release/kitchen_sink/src/wi
dget/nls/DemoEngine.js
[java] ## moduleName:
dojo.dojo.release.kitchen_sink.src.widget, bundleName:
DemoEngine, localeName:
[java] ## flattenedBundle: undefined
[java] js: "buildUtil.js", line 311:
exception from uncaught JavaScript throw: Cannot create
flattened bundle for src file:
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
BUILD FAILED
/home/gregw/src/dojo/buildscripts/build.xml:917: The
following error occurred while executing this line:
/home/gregw/src/dojo/buildscripts/build.xml:689: The
following error occurred while executing this line:
/home/gregw/src/dojo/buildscripts/build.xml:791: Java
returned: 3
James Burke wrote:
>
> Hi Greg,
>
> Happy New Year to you too.
>
> For this particular piece of code, there isn't a real
debug switch,
> but the failure is happening in
buildscripts/buildUtil.js, in the
> buildUtil.makeFlatBundleContents function. There are
some commented
> out print statements you can uncomment to get more
info.
>
> This piece of code is a newer piece of the build
system, so we don't
> have a lot of experience troubleshooting problems with
it.
>
> The only thing I can think of is perhaps there is
another Rhino jar in
> your classpath that might not work correctly with the
JS code we are
> trying to run.
>
> You can try uncommenting out the print statements in
the function
> mentioned above, and also try clearing your classpath
so that only the
> jars that Dojo wants are used. Unfortunately, I'm not
too familiar
> with Ant to give you definitive directions on how to do
that. Maybe
> just make sure the CLASSPATH env variable is clear
before running the
> task.
>
> James
>
> On 1/1/07, Greg Wilkins <gregw.webtide gmail.com> wrote:
>>
>>
>> Hey james,
>>
>> Happy new year!
>>
>> I'm building dojo trunk - rev 6965 on ubuntu edgy
(and tried on freeBSD)
>> with java version "1.5.0_08"
>>
>> I cd to buildscripts and have used several commands
including
>> just build.sh. I just tried:
>>
>> ant -Dprofile=kitchen_sink -Ddocless=true
-DreleaseName=kitchen_sink
>> clean release
>>
>> and got
>>
>> -flatten-resources:
>> [copy] Copying 1 file to
/home/gregw/src/dojo/release/kitchen_sink
>> [java] js: "buildUtil.js", line 310:
exception from uncaught
>> JavaScript throw: Cannot create flattened bundle
for src file:
>>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
>>
>> The file exists OK:
>>
>> [536] ls -l
>>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
>> -rw-rw-r-- 1 gregw gregw 90 2006-12-05 15:05
>>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
>>
>> [537] cat
>>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
>> ({
>> itemDescription: "This is the
description of this demo.",
>> categories: "Categories"
>> })
>>
>> I have tried moving away my .ant directory, but I
get the same thing
>> once the libraries have been put
>> back in.
>>
>> Is there some debug I can turn on for this?
>>
>> cheers
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-dev googlegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev
Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---
|
|
| Dojo build issues |

|
2007-01-02 13:30:46 |
James,
and I forgot to say, I have nothing on my classpath and the
freeBSD machine is pretty
much a virgin with respect to having anything installed on
it
Do you want ssh access to the freeBSD box so you can debug
directly?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-dev googlegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev
Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---
|
|
| Dojo build issues |

|
2007-01-02 15:47:04 |
James,
I just tried a build on an older dapper ubuntu machine and
got exactly the same problem?
So far it has not worked on any of the 3 linux and 1 FreeBSD
machines that I have tried it on. Does it build for you on
any unix system?
cheers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-dev googlegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev
Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---
|
|
| Dojo build issues |

|
2007-01-02 16:34:35 |
Hi Greg,
I'm off to the mountains today, so I can't give a full
diagnosis, but
I think it is a bug in buildscripts/buildUtil.js, in the
buildUtil.getBundlePartsFromFileName function. Find this
line:
var prefixStartIndex = srcFileName.indexOf(prefixPath);
and change it to this:
var prefixStartIndex = srcFileName.lastIndexOf(prefixPath);
That might fix it, but I can't say for sure. I'll try more
tonight.
I think the issue is that you store your Dojo source under a
(very
logically named) src dir. And it exposed a bug in the
process that is
used to determine the localized bundle name and module name.
James
On 1/2/07, Greg Wilkins <gregw.webtide gmail.com> wrote:
>
> James,
>
> Can you give me quick description of the build process
> and what all the files are doing... I have tried to
debug this
> a little bit, but it is hard without knowing what the
build
> process is actually doing.
>
> I uncommented the prints and turned them into
System.err.printlns
> Not much help:
>
>
> list-profile-deps:
> [list-profile-deps] dojoGuardStart.js,
> [list-profile-deps] ../src/bootstrap1.js,
> [list-profile-deps] ../src/loader.js,
> [list-profile-deps] dojoGuardEnd.js,
> [list-profile-deps] ../src/hostenv_browser.js,
> [list-profile-deps] ../src/bootstrap2.js,
> [list-profile-deps] ../__package__.js,
> [list-profile-deps] ../src/lang/common.js,
> [list-profile-deps] ../src/dom.js,
> [list-profile-deps] ../src/html/common.js,
> [list-profile-deps] ../src/uri/Uri.js,
> [list-profile-deps] ../src/html/style.js,
> [list-profile-deps] ../src/html/__package__.js,
> [list-profile-deps] ../src/html/display.js,
> [list-profile-deps] ../src/html/layout.js,
> [list-profile-deps] ../src/html/util.js,
> [list-profile-deps] ../src/lang/array.js,
> [list-profile-deps] ../src/gfx/color.js,
> [list-profile-deps] ../src/lang/func.js,
> [list-profile-deps] ../src/lfx/Animation.js,
> [list-profile-deps] ../src/html/color.js,
> [list-profile-deps] ../src/lfx/html.js,
> [list-profile-deps] ../src/lfx/__package__.js,
> [list-profile-deps] ../src/lang/extras.js,
> [list-profile-deps] ../src/event/common.js,
> [list-profile-deps] ../src/event/topic.js,
> [list-profile-deps] ../src/event/browser.js,
> [list-profile-deps] ../src/event/__package__.js,
> [list-profile-deps] ../src/lang/declare.js,
> [list-profile-deps] ../src/logging/Logger.js,
> [list-profile-deps] ../src/logging/__package__.js,
> [list-profile-deps] ../src/string/common.js,
> [list-profile-deps] ../src/string.js,
> [list-profile-deps] ../src/io/common.js,
> [list-profile-deps] ../src/string/extras.js,
> [list-profile-deps] ../src/undo/browser.js,
> [list-profile-deps] ../src/io/BrowserIO.js,
> [list-profile-deps] ../src/io/cookie.js,
> [list-profile-deps] ../src/io/__package__.js,
> [list-profile-deps] ../src/uri/__package__.js,
> [list-profile-deps] ../src/io/IframeIO.js,
> [list-profile-deps] ../src/string/Builder.js,
> [list-profile-deps] ../src/string/__package__.js,
> [list-profile-deps] ../src/AdapterRegistry.js,
> [list-profile-deps] ../src/json.js,
> [list-profile-deps] ../src/Deferred.js,
> [list-profile-deps] ../src/rpc/RpcService.js,
> [list-profile-deps] ../src/rpc/JsonService.js,
> [list-profile-deps] ../src/rpc/__package__.js,
> [list-profile-deps] ../src/xml/Parse.js,
> [list-profile-deps] ../src/xml/__package__.js,
> [list-profile-deps] ../src/undo/Manager.js,
> [list-profile-deps] ../src/undo/__package__.js,
> [list-profile-deps] ../src/crypto.js,
> [list-profile-deps] ../src/crypto/MD5.js,
> [list-profile-deps] ../src/crypto/__package__.js,
> [list-profile-deps] ../src/collections/Collections.js,
> [list-profile-deps] ../src/collections/ArrayList.js,
> [list-profile-deps] ../src/collections/Queue.js,
> [list-profile-deps] ../src/collections/Stack.js,
> [list-profile-deps] ../src/dnd/DragAndDrop.js,
> [list-profile-deps] ../src/dnd/HtmlDragManager.js,
> [list-profile-deps] ../src/html/selection.js,
> [list-profile-deps] ../src/html/iframe.js,
> [list-profile-deps] ../src/dnd/HtmlDragAndDrop.js,
> [list-profile-deps] ../src/dnd/__package__.js,
> [list-profile-deps] ../src/ns.js,
> [list-profile-deps] ../src/widget/Manager.js,
> [list-profile-deps] ../src/a11y.js,
> [list-profile-deps] ../src/widget/Widget.js,
> [list-profile-deps] ../src/widget/Parse.js,
> [list-profile-deps] ../src/widget/DomWidget.js,
> [list-profile-deps] ../src/lfx/toggler.js,
> [list-profile-deps] ../src/widget/HtmlWidget.js,
> [list-profile-deps] ../src/widget/__package__.js,
> [list-profile-deps] ../src/math.js,
> [list-profile-deps] ../src/math/curves.js,
> [list-profile-deps] ../src/math/points.js,
> [list-profile-deps] ../src/math/__package__.js
>
> compress:
> [compress] profileFile:
profiles/kitchen_sink.profile.js
> [compress] Setting version for Dojo to: 0.0.0.dev
> [compress] Removing dojo.require calls in
source.__package__.js.
>
> -flatten-resources:
> [copy] Copying 1 file to
/home/gregw/src/dojo/release/kitchen_sink
> [java] getBundlePartsFromFileName
dojo,../src,/home/gregw/src/dojo/release/kitchen_sink/src/wi
dget/nls/DemoEngine.js
> [java] ## moduleName:
dojo.dojo.release.kitchen_sink.src.widget, bundleName:
DemoEngine, localeName:
> [java] ## flattenedBundle: undefined
> [java] js: "buildUtil.js", line 311:
exception from uncaught JavaScript throw: Cannot create
flattened bundle for src file:
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
>
> BUILD FAILED
> /home/gregw/src/dojo/buildscripts/build.xml:917: The
following error occurred while executing this line:
> /home/gregw/src/dojo/buildscripts/build.xml:689: The
following error occurred while executing this line:
> /home/gregw/src/dojo/buildscripts/build.xml:791: Java
returned: 3
>
>
>
>
>
>
>
>
> James Burke wrote:
> >
> > Hi Greg,
> >
> > Happy New Year to you too.
> >
> > For this particular piece of code, there isn't a
real debug switch,
> > but the failure is happening in
buildscripts/buildUtil.js, in the
> > buildUtil.makeFlatBundleContents function. There
are some commented
> > out print statements you can uncomment to get more
info.
> >
> > This piece of code is a newer piece of the build
system, so we don't
> > have a lot of experience troubleshooting problems
with it.
> >
> > The only thing I can think of is perhaps there is
another Rhino jar in
> > your classpath that might not work correctly with
the JS code we are
> > trying to run.
> >
> > You can try uncommenting out the print statements
in the function
> > mentioned above, and also try clearing your
classpath so that only the
> > jars that Dojo wants are used. Unfortunately, I'm
not too familiar
> > with Ant to give you definitive directions on how
to do that. Maybe
> > just make sure the CLASSPATH env variable is clear
before running the
> > task.
> >
> > James
> >
> > On 1/1/07, Greg Wilkins <gregw.webtide gmail.com> wrote:
> >>
> >>
> >> Hey james,
> >>
> >> Happy new year!
> >>
> >> I'm building dojo trunk - rev 6965 on ubuntu
edgy (and tried on freeBSD)
> >> with java version "1.5.0_08"
> >>
> >> I cd to buildscripts and have used several
commands including
> >> just build.sh. I just tried:
> >>
> >> ant -Dprofile=kitchen_sink -Ddocless=true
-DreleaseName=kitchen_sink
> >> clean release
> >>
> >> and got
> >>
> >> -flatten-resources:
> >> [copy] Copying 1 file to
/home/gregw/src/dojo/release/kitchen_sink
> >> [java] js: "buildUtil.js", line
310: exception from uncaught
> >> JavaScript throw: Cannot create flattened
bundle for src file:
> >>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
> >>
> >> The file exists OK:
> >>
> >> [536] ls -l
> >>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
> >> -rw-rw-r-- 1 gregw gregw 90 2006-12-05 15:05
> >>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
> >>
> >> [537] cat
> >>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
> >> ({
> >> itemDescription: "This is the
description of this demo.",
> >> categories: "Categories"
> >> })
> >>
> >> I have tried moving away my .ant directory,
but I get the same thing
> >> once the libraries have been put
> >> back in.
> >>
> >> Is there some debug I can turn on for this?
> >>
> >> cheers
> >
> > >
> >
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-dev googlegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev
Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---
|
|
| Dojo build issues |

|
2007-01-03 00:44:44 |
Greg, I confirmed the bug in buildUtil.js I just put in a
fix (r6967).
Feel free to update to that revision, and you should be able
to build
now.
Just as a heads-up, I'll be checking in some other things
later
tonight that might affect the build process. My testing
seems to show
they are good, but giving you a heads up just in case. I
don't expect
any issues with the later checkins, but if you have problems
fetching
the latest from trunk, r6967 should be fine.
James
On 1/2/07, James Burke <tagneto gmail.com> wrote:
> Hi Greg,
>
> I'm off to the mountains today, so I can't give a full
diagnosis, but
> I think it is a bug in buildscripts/buildUtil.js, in
the
> buildUtil.getBundlePartsFromFileName function. Find
this line:
>
> var prefixStartIndex = srcFileName.indexOf(prefixPath);
>
> and change it to this:
>
> var prefixStartIndex =
srcFileName.lastIndexOf(prefixPath);
>
> That might fix it, but I can't say for sure. I'll try
more tonight.
>
> I think the issue is that you store your Dojo source
under a (very
> logically named) src dir. And it exposed a bug in the
process that is
> used to determine the localized bundle name and module
name.
>
> James
>
> On 1/2/07, Greg Wilkins <gregw.webtide gmail.com> wrote:
> >
> > James,
> >
> > Can you give me quick description of the build
process
> > and what all the files are doing... I have tried
to debug this
> > a little bit, but it is hard without knowing what
the build
> > process is actually doing.
> >
> > I uncommented the prints and turned them into
System.err.printlns
> > Not much help:
> >
> >
> > list-profile-deps:
> > [list-profile-deps] dojoGuardStart.js,
> > [list-profile-deps] ../src/bootstrap1.js,
> > [list-profile-deps] ../src/loader.js,
> > [list-profile-deps] dojoGuardEnd.js,
> > [list-profile-deps] ../src/hostenv_browser.js,
> > [list-profile-deps] ../src/bootstrap2.js,
> > [list-profile-deps] ../__package__.js,
> > [list-profile-deps] ../src/lang/common.js,
> > [list-profile-deps] ../src/dom.js,
> > [list-profile-deps] ../src/html/common.js,
> > [list-profile-deps] ../src/uri/Uri.js,
> > [list-profile-deps] ../src/html/style.js,
> > [list-profile-deps] ../src/html/__package__.js,
> > [list-profile-deps] ../src/html/display.js,
> > [list-profile-deps] ../src/html/layout.js,
> > [list-profile-deps] ../src/html/util.js,
> > [list-profile-deps] ../src/lang/array.js,
> > [list-profile-deps] ../src/gfx/color.js,
> > [list-profile-deps] ../src/lang/func.js,
> > [list-profile-deps] ../src/lfx/Animation.js,
> > [list-profile-deps] ../src/html/color.js,
> > [list-profile-deps] ../src/lfx/html.js,
> > [list-profile-deps] ../src/lfx/__package__.js,
> > [list-profile-deps] ../src/lang/extras.js,
> > [list-profile-deps] ../src/event/common.js,
> > [list-profile-deps] ../src/event/topic.js,
> > [list-profile-deps] ../src/event/browser.js,
> > [list-profile-deps] ../src/event/__package__.js,
> > [list-profile-deps] ../src/lang/declare.js,
> > [list-profile-deps] ../src/logging/Logger.js,
> > [list-profile-deps] ../src/logging/__package__.js,
> > [list-profile-deps] ../src/string/common.js,
> > [list-profile-deps] ../src/string.js,
> > [list-profile-deps] ../src/io/common.js,
> > [list-profile-deps] ../src/string/extras.js,
> > [list-profile-deps] ../src/undo/browser.js,
> > [list-profile-deps] ../src/io/BrowserIO.js,
> > [list-profile-deps] ../src/io/cookie.js,
> > [list-profile-deps] ../src/io/__package__.js,
> > [list-profile-deps] ../src/uri/__package__.js,
> > [list-profile-deps] ../src/io/IframeIO.js,
> > [list-profile-deps] ../src/string/Builder.js,
> > [list-profile-deps] ../src/string/__package__.js,
> > [list-profile-deps] ../src/AdapterRegistry.js,
> > [list-profile-deps] ../src/json.js,
> > [list-profile-deps] ../src/Deferred.js,
> > [list-profile-deps] ../src/rpc/RpcService.js,
> > [list-profile-deps] ../src/rpc/JsonService.js,
> > [list-profile-deps] ../src/rpc/__package__.js,
> > [list-profile-deps] ../src/xml/Parse.js,
> > [list-profile-deps] ../src/xml/__package__.js,
> > [list-profile-deps] ../src/undo/Manager.js,
> > [list-profile-deps] ../src/undo/__package__.js,
> > [list-profile-deps] ../src/crypto.js,
> > [list-profile-deps] ../src/crypto/MD5.js,
> > [list-profile-deps] ../src/crypto/__package__.js,
> > [list-profile-deps]
../src/collections/Collections.js,
> > [list-profile-deps]
../src/collections/ArrayList.js,
> > [list-profile-deps] ../src/collections/Queue.js,
> > [list-profile-deps] ../src/collections/Stack.js,
> > [list-profile-deps] ../src/dnd/DragAndDrop.js,
> > [list-profile-deps] ../src/dnd/HtmlDragManager.js,
> > [list-profile-deps] ../src/html/selection.js,
> > [list-profile-deps] ../src/html/iframe.js,
> > [list-profile-deps] ../src/dnd/HtmlDragAndDrop.js,
> > [list-profile-deps] ../src/dnd/__package__.js,
> > [list-profile-deps] ../src/ns.js,
> > [list-profile-deps] ../src/widget/Manager.js,
> > [list-profile-deps] ../src/a11y.js,
> > [list-profile-deps] ../src/widget/Widget.js,
> > [list-profile-deps] ../src/widget/Parse.js,
> > [list-profile-deps] ../src/widget/DomWidget.js,
> > [list-profile-deps] ../src/lfx/toggler.js,
> > [list-profile-deps] ../src/widget/HtmlWidget.js,
> > [list-profile-deps] ../src/widget/__package__.js,
> > [list-profile-deps] ../src/math.js,
> > [list-profile-deps] ../src/math/curves.js,
> > [list-profile-deps] ../src/math/points.js,
> > [list-profile-deps] ../src/math/__package__.js
> >
> > compress:
> > [compress] profileFile:
profiles/kitchen_sink.profile.js
> > [compress] Setting version for Dojo to: 0.0.0.dev
> > [compress] Removing dojo.require calls in
source.__package__.js.
> >
> > -flatten-resources:
> > [copy] Copying 1 file to
/home/gregw/src/dojo/release/kitchen_sink
> > [java] getBundlePartsFromFileName
dojo,../src,/home/gregw/src/dojo/release/kitchen_sink/src/wi
dget/nls/DemoEngine.js
> > [java] ## moduleName:
dojo.dojo.release.kitchen_sink.src.widget, bundleName:
DemoEngine, localeName:
> > [java] ## flattenedBundle: undefined
> > [java] js: "buildUtil.js", line
311: exception from uncaught JavaScript throw: Cannot create
flattened bundle for src file:
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
> >
> > BUILD FAILED
> > /home/gregw/src/dojo/buildscripts/build.xml:917:
The following error occurred while executing this line:
> > /home/gregw/src/dojo/buildscripts/build.xml:689:
The following error occurred while executing this line:
> > /home/gregw/src/dojo/buildscripts/build.xml:791:
Java returned: 3
> >
> >
> >
> >
> >
> >
> >
> >
> > James Burke wrote:
> > >
> > > Hi Greg,
> > >
> > > Happy New Year to you too.
> > >
> > > For this particular piece of code, there
isn't a real debug switch,
> > > but the failure is happening in
buildscripts/buildUtil.js, in the
> > > buildUtil.makeFlatBundleContents function.
There are some commented
> > > out print statements you can uncomment to get
more info.
> > >
> > > This piece of code is a newer piece of the
build system, so we don't
> > > have a lot of experience troubleshooting
problems with it.
> > >
> > > The only thing I can think of is perhaps
there is another Rhino jar in
> > > your classpath that might not work correctly
with the JS code we are
> > > trying to run.
> > >
> > > You can try uncommenting out the print
statements in the function
> > > mentioned above, and also try clearing your
classpath so that only the
> > > jars that Dojo wants are used. Unfortunately,
I'm not too familiar
> > > with Ant to give you definitive directions on
how to do that. Maybe
> > > just make sure the CLASSPATH env variable is
clear before running the
> > > task.
> > >
> > > James
> > >
> > > On 1/1/07, Greg Wilkins <gregw.webtide gmail.com> wrote:
> > >>
> > >>
> > >> Hey james,
> > >>
> > >> Happy new year!
> > >>
> > >> I'm building dojo trunk - rev 6965 on
ubuntu edgy (and tried on freeBSD)
> > >> with java version "1.5.0_08"
> > >>
> > >> I cd to buildscripts and have used
several commands including
> > >> just build.sh. I just tried:
> > >>
> > >> ant -Dprofile=kitchen_sink -Ddocless=true
-DreleaseName=kitchen_sink
> > >> clean release
> > >>
> > >> and got
> > >>
> > >> -flatten-resources:
> > >> [copy] Copying 1 file to
/home/gregw/src/dojo/release/kitchen_sink
> > >> [java] js: "buildUtil.js",
line 310: exception from uncaught
> > >> JavaScript throw: Cannot create flattened
bundle for src file:
> > >>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
> > >>
> > >> The file exists OK:
> > >>
> > >> [536] ls -l
> > >>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
> > >> -rw-rw-r-- 1 gregw gregw 90 2006-12-05
15:05
> > >>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
> > >>
> > >> [537] cat
> > >>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
> > >> ({
> > >> itemDescription: "This is
the description of this demo.",
> > >> categories:
"Categories"
> > >> })
> > >>
> > >> I have tried moving away my .ant
directory, but I get the same thing
> > >> once the libraries have been put
> > >> back in.
> > >>
> > >> Is there some debug I can turn on for
this?
> > >>
> > >> cheers
> > >
> > > >
> > >
> >
> >
> > > >
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-dev googlegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev
Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---
|
|
| Dojo build issues |

|
2007-01-03 18:39:09 |
James,
I think I got both updates and I can build fine!
I was starting to feel paranoid there for a little bit as it
only appeared to be failing for me!
thanks!
James Burke wrote:
>
> Greg, I confirmed the bug in buildUtil.js I just put in
a fix (r6967).
> Feel free to update to that revision, and you should be
able to build
> now.
>
> Just as a heads-up, I'll be checking in some other
things later
> tonight that might affect the build process. My testing
seems to show
> they are good, but giving you a heads up just in case.
I don't expect
> any issues with the later checkins, but if you have
problems fetching
> the latest from trunk, r6967 should be fine.
>
> James
>
> On 1/2/07, James Burke <tagneto gmail.com> wrote:
>> Hi Greg,
>>
>> I'm off to the mountains today, so I can't give a
full diagnosis, but
>> I think it is a bug in buildscripts/buildUtil.js,
in the
>> buildUtil.getBundlePartsFromFileName function. Find
this line:
>>
>> var prefixStartIndex =
srcFileName.indexOf(prefixPath);
>>
>> and change it to this:
>>
>> var prefixStartIndex =
srcFileName.lastIndexOf(prefixPath);
>>
>> That might fix it, but I can't say for sure. I'll
try more tonight.
>>
>> I think the issue is that you store your Dojo
source under a (very
>> logically named) src dir. And it exposed a bug in
the process that is
>> used to determine the localized bundle name and
module name.
>>
>> James
>>
>> On 1/2/07, Greg Wilkins <gregw.webtide gmail.com> wrote:
>> >
>> > James,
>> >
>> > Can you give me quick description of the build
process
>> > and what all the files are doing... I have
tried to debug this
>> > a little bit, but it is hard without knowing
what the build
>> > process is actually doing.
>> >
>> > I uncommented the prints and turned them into
System.err.printlns
>> > Not much help:
>> >
>> >
>> > list-profile-deps:
>> > [list-profile-deps] dojoGuardStart.js,
>> > [list-profile-deps] ../src/bootstrap1.js,
>> > [list-profile-deps] ../src/loader.js,
>> > [list-profile-deps] dojoGuardEnd.js,
>> > [list-profile-deps] ../src/hostenv_browser.js,
>> > [list-profile-deps] ../src/bootstrap2.js,
>> > [list-profile-deps] ../__package__.js,
>> > [list-profile-deps] ../src/lang/common.js,
>> > [list-profile-deps] ../src/dom.js,
>> > [list-profile-deps] ../src/html/common.js,
>> > [list-profile-deps] ../src/uri/Uri.js,
>> > [list-profile-deps] ../src/html/style.js,
>> > [list-profile-deps]
../src/html/__package__.js,
>> > [list-profile-deps] ../src/html/display.js,
>> > [list-profile-deps] ../src/html/layout.js,
>> > [list-profile-deps] ../src/html/util.js,
>> > [list-profile-deps] ../src/lang/array.js,
>> > [list-profile-deps] ../src/gfx/color.js,
>> > [list-profile-deps] ../src/lang/func.js,
>> > [list-profile-deps] ../src/lfx/Animation.js,
>> > [list-profile-deps] ../src/html/color.js,
>> > [list-profile-deps] ../src/lfx/html.js,
>> > [list-profile-deps] ../src/lfx/__package__.js,
>> > [list-profile-deps] ../src/lang/extras.js,
>> > [list-profile-deps] ../src/event/common.js,
>> > [list-profile-deps] ../src/event/topic.js,
>> > [list-profile-deps] ../src/event/browser.js,
>> > [list-profile-deps]
../src/event/__package__.js,
>> > [list-profile-deps] ../src/lang/declare.js,
>> > [list-profile-deps] ../src/logging/Logger.js,
>> > [list-profile-deps]
../src/logging/__package__.js,
>> > [list-profile-deps] ../src/string/common.js,
>> > [list-profile-deps] ../src/string.js,
>> > [list-profile-deps] ../src/io/common.js,
>> > [list-profile-deps] ../src/string/extras.js,
>> > [list-profile-deps] ../src/undo/browser.js,
>> > [list-profile-deps] ../src/io/BrowserIO.js,
>> > [list-profile-deps] ../src/io/cookie.js,
>> > [list-profile-deps] ../src/io/__package__.js,
>> > [list-profile-deps] ../src/uri/__package__.js,
>> > [list-profile-deps] ../src/io/IframeIO.js,
>> > [list-profile-deps] ../src/string/Builder.js,
>> > [list-profile-deps]
../src/string/__package__.js,
>> > [list-profile-deps] ../src/AdapterRegistry.js,
>> > [list-profile-deps] ../src/json.js,
>> > [list-profile-deps] ../src/Deferred.js,
>> > [list-profile-deps] ../src/rpc/RpcService.js,
>> > [list-profile-deps] ../src/rpc/JsonService.js,
>> > [list-profile-deps] ../src/rpc/__package__.js,
>> > [list-profile-deps] ../src/xml/Parse.js,
>> > [list-profile-deps] ../src/xml/__package__.js,
>> > [list-profile-deps] ../src/undo/Manager.js,
>> > [list-profile-deps]
../src/undo/__package__.js,
>> > [list-profile-deps] ../src/crypto.js,
>> > [list-profile-deps] ../src/crypto/MD5.js,
>> > [list-profile-deps]
../src/crypto/__package__.js,
>> > [list-profile-deps]
../src/collections/Collections.js,
>> > [list-profile-deps]
../src/collections/ArrayList.js,
>> > [list-profile-deps]
../src/collections/Queue.js,
>> > [list-profile-deps]
../src/collections/Stack.js,
>> > [list-profile-deps] ../src/dnd/DragAndDrop.js,
>> > [list-profile-deps]
../src/dnd/HtmlDragManager.js,
>> > [list-profile-deps] ../src/html/selection.js,
>> > [list-profile-deps] ../src/html/iframe.js,
>> > [list-profile-deps]
../src/dnd/HtmlDragAndDrop.js,
>> > [list-profile-deps] ../src/dnd/__package__.js,
>> > [list-profile-deps] ../src/ns.js,
>> > [list-profile-deps] ../src/widget/Manager.js,
>> > [list-profile-deps] ../src/a11y.js,
>> > [list-profile-deps] ../src/widget/Widget.js,
>> > [list-profile-deps] ../src/widget/Parse.js,
>> > [list-profile-deps]
../src/widget/DomWidget.js,
>> > [list-profile-deps] ../src/lfx/toggler.js,
>> > [list-profile-deps]
../src/widget/HtmlWidget.js,
>> > [list-profile-deps]
../src/widget/__package__.js,
>> > [list-profile-deps] ../src/math.js,
>> > [list-profile-deps] ../src/math/curves.js,
>> > [list-profile-deps] ../src/math/points.js,
>> > [list-profile-deps] ../src/math/__package__.js
>> >
>> > compress:
>> > [compress] profileFile:
profiles/kitchen_sink.profile.js
>> > [compress] Setting version for Dojo to:
0.0.0.dev
>> > [compress] Removing dojo.require calls in
source.__package__.js.
>> >
>> > -flatten-resources:
>> > [copy] Copying 1 file to
/home/gregw/src/dojo/release/kitchen_sink
>> > [java] getBundlePartsFromFileName
>>
dojo,../src,/home/gregw/src/dojo/release/kitchen_sink/src/wi
dget/nls/DemoEngine.js
>>
>> > [java] ## moduleName:
>> dojo.dojo.release.kitchen_sink.src.widget,
bundleName: DemoEngine,
>> localeName:
>> > [java] ## flattenedBundle: undefined
>> > [java] js: "buildUtil.js", line
311: exception from uncaught
>> JavaScript throw: Cannot create flattened bundle
for src file:
>>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
>> >
>> > BUILD FAILED
>> >
/home/gregw/src/dojo/buildscripts/build.xml:917: The
following error
>> occurred while executing this line:
>> >
/home/gregw/src/dojo/buildscripts/build.xml:689: The
following error
>> occurred while executing this line:
>> >
/home/gregw/src/dojo/buildscripts/build.xml:791: Java
returned: 3
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > James Burke wrote:
>> > >
>> > > Hi Greg,
>> > >
>> > > Happy New Year to you too.
>> > >
>> > > For this particular piece of code, there
isn't a real debug switch,
>> > > but the failure is happening in
buildscripts/buildUtil.js, in the
>> > > buildUtil.makeFlatBundleContents
function. There are some commented
>> > > out print statements you can uncomment to
get more info.
>> > >
>> > > This piece of code is a newer piece of
the build system, so we don't
>> > > have a lot of experience troubleshooting
problems with it.
>> > >
>> > > The only thing I can think of is perhaps
there is another Rhino
>> jar in
>> > > your classpath that might not work
correctly with the JS code we are
>> > > trying to run.
>> > >
>> > > You can try uncommenting out the print
statements in the function
>> > > mentioned above, and also try clearing
your classpath so that only
>> the
>> > > jars that Dojo wants are used.
Unfortunately, I'm not too familiar
>> > > with Ant to give you definitive
directions on how to do that. Maybe
>> > > just make sure the CLASSPATH env variable
is clear before running the
>> > > task.
>> > >
>> > > James
>> > >
>> > > On 1/1/07, Greg Wilkins
<gregw.webtide gmail.com> wrote:
>> > >>
>> > >>
>> > >> Hey james,
>> > >>
>> > >> Happy new year!
>> > >>
>> > >> I'm building dojo trunk - rev 6965 on
ubuntu edgy (and tried on
>> freeBSD)
>> > >> with java version
"1.5.0_08"
>> > >>
>> > >> I cd to buildscripts and have used
several commands including
>> > >> just build.sh. I just tried:
>> > >>
>> > >> ant -Dprofile=kitchen_sink
-Ddocless=true -DreleaseName=kitchen_sink
>> > >> clean release
>> > >>
>> > >> and got
>> > >>
>> > >> -flatten-resources:
>> > >> [copy] Copying 1 file to
>> /home/gregw/src/dojo/release/kitchen_sink
>> > >> [java] js:
"buildUtil.js", line 310: exception from uncaught
>> > >> JavaScript throw: Cannot create
flattened bundle for src file:
>> > >>
>>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
>> > >>
>> > >> The file exists OK:
>> > >>
>> > >> [536] ls -l
>> > >>
>>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
>> > >> -rw-rw-r-- 1 gregw gregw 90
2006-12-05 15:05
>> > >>
>>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
>> > >>
>> > >> [537] cat
>> > >>
>>
/home/gregw/src/dojo/release/kitchen_sink/src/widget/nls/Dem
oEngine.js
>> > >> ({
>> > >> itemDescription: "This
is the description of this demo.",
>> > >> categories:
"Categories"
>> > >> })
>> > >>
>> > >> I have tried moving away my .ant
directory, but I get the same thing
>> > >> once the libraries have been put
>> > >> back in.
>> > >>
>> > >> Is there some debug I can turn on for
this?
>> > >>
>> > >> cheers
>> > >
>> > > >
>> > >
>> >
>> >
>> > > >
>> >
>>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-dev googlegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev
Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---
|
|
[1-10]
|
|