W dniu 25.07.2012 21:11, Łukasz Mach pisze:

I'm trying to figure out what makes disclosurePanelOpen.png and disclosurePanelClose.png appear automatically in my output/ folder.

I didn't see any "this file is for copy when class is imported" spec ... where is it defined?

I have found them. It's in library/pyjamas/ui/public . In other words - contents of public folder of module X is copied to output/ , if module X is imported somewhere.

Now, when I know it - I'm curious how to solve following problem:

- application (nonpyjamas) url is http://localhost/app/ - which is /var/www/app/ - pyjamas code is compiled into /var/www/app/lib/pyjs/ . bootstrap.js and disclosurePanelOpen.png lies there.
- I include app .js by <script src='lib/pyjs/bootstrap.js'> ...

How to convince pyjamas compiled code, to use disclosurePanelOpen.png from http://localhost/app/lib/pyjs/disclosurePanelOpen.png , not from http://localhost/app/disclosurePanelOpen.png (404 not found) ?


--
pozdrawiam

Łukasz Mach - lukasz.m...@pagema.net

--



Reply via email to