On Fri, Feb 3, 2012 at 2:14 PM, C Anthony Risinger <[email protected]> wrote:
>
>
> i would recommend using `--no-compile-inplace` indefinitely until
> noted otherwise. this will force a full rebuild each time (a whopping
> 10 seconds at most on my laptop)
>
> --
>
> C Anthony
>
Doing so yields:
C:\Users\kpeters\Dropbox\WLS\pyjsprocesstrain>pyjsbuild
--no-compile-inplace -d ProcessTrain.py
Building : ProcessTrain
PYJSPATH : [
C:\Users\kpeters\Dropbox\WLS\pyjsprocesstrain
c:\Users\kpeters\Dropbox\WLS\pyjamas\library
c:\Users\kpeters\Dropbox\WLS\pyjamas\addons
]
Translating :
c:\Users\kpeters\Dropbox\WLS\pyjamas\pyjs\src\pyjs\builtin\pyjslib.py
Translating : c:\Users\kpeters\Dropbox\WLS\pyjamas\pyjs\src\pyjs\lib\sys.py
Translating : c:\Users\kpeters\Dropbox\WLS\pyjamas\library\dynamic.py
Translating :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\__init__.py
Translating : c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\DOM.py
Translating : c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjd.py
Translating : c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\Window.py
Translating :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\Location.py
Translating :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\ui\__init__.py
Translating :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\ui\Event.py
Translating :
C:\Users\kpeters\Dropbox\WLS\pyjsprocesstrain\ProcessTrain\__init__.py
Translating [ie6] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\DOM.py
Translating [ie6] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\Window.py
Translating [ie6] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\Location.py
Translating [ie6] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\ui\Event.py
Translating [opera] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\DOM.py
Translating [opera] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\Window.py
Translating [opera] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\Location.py
Translating [opera] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\ui\Event.py
Translating [oldmoz] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\DOM.py
Translating [oldmoz] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\Window.py
Translating [oldmoz] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\ui\Event.py
Translating [safari] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\DOM.py
Translating [safari] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\Window.py
Translating [safari] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\ui\Event.py
Translating [mozilla] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\DOM.py
Translating [mozilla] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\Window.py
Translating [mozilla] :
c:\Users\kpeters\Dropbox\WLS\pyjamas\library\pyjamas\ui\Event.py
Built to : C:\Users\kpeters\Dropbox\WLS\pyjsprocesstrain\output
My main class has the line:
pyjd.setup("./public/ProcessTrain.html")
But when I typo "ProcessTrain.html", it doesn't complain. And the text from
./public/ProcessTrain.html is not included in ./output/ProcessTrain.html
And even though I deleted all the *.js files in
pyjamas/library/pyjamas/ui/, running "pyjsbuild -d ProcessTrain.py" only
output the following:
C:\Users\kpeters\Dropbox\WLS\pyjsprocesstrain>pyjsbuild
--no-compile-inplace -d ProcessTrain.py
Building : ProcessTrain
PYJSPATH : [
C:\Users\kpeters\Dropbox\WLS\pyjsprocesstrain
c:\Users\kpeters\Dropbox\WLS\pyjamas\library
c:\Users\kpeters\Dropbox\WLS\pyjamas\addons
]
Built to : C:\Users\kpeters\Dropbox\WLS\pyjsprocesstrain\output
However, when I ran pyjsbuild on the helloworld example, it did the full
compilation of the widgets.
Sorry to be so bothersome, gentlemen. For whatever reason, it seems like my
call to pyjsbuild is not hooking into the widgets. :(
PS: Luke - When I open the ./output/ProcessTrain.html file, it leads to a
blank screen. I tried in Firefox, IE and Opera with the same result.
Kind regards,
Robert