Hi Simon and Sebastian,

thank you for your replies and help. I switched to the new Makefile and 
it is very nice how you can configure some variables (like the names of 
the 'class' and 'script' folders) and the rest is hidden. It is good, 
but it could better fit into a J2EE environment. Let me explain:

Currently we have the this folder structure:
+-Makefile
+-source/
       +-class/
       +-script/
       +-index.html
+-build/
       +-class/
       +-script/
       +-index.html
...
The Makefile is outside and we have 2 folders for the 2 kinds of build. 
In a J2EE environment the web-application must be in the context root 
folder like this:

project/
    java-source/
    web-content/
          +-source/
              +-class/
              +-script/
              +-index.html
          +-build
              +-class/
              +-script/
              +-index.html
          +-Makefile

          +-index.jsp
          +-other1.js
          +-other2.js

One problem is that in the index.jsp you have to manually include either 
source/index.html or build/index.html according to your build-type. 
Another problem is that the relative root path is that of index.jsp, not 
of the qooxdoo index.html.

Both the J2EE Context-Root and the qooxdoo-app think they are the center 
of the universe, but there can be only 1 center. Now I try to merge the 
2 centers to one:

project/
    java-source/
    web-content/
          +-qx-class/
          +-qx-script/
          +-Makefile

          +-index.jsp
          +-other1.js
          +-other2.js

I tell the Makefile that both the 'source' and the 'build' directory is 
the current dir '.' . That way, I use the source-build during 
development and at the end do a "make build" and it just replaces my 
custom.js file and that's it. What do you think about this? Is it better 
the Makefile to be inside the app-dir? I have seen this commonly used in 
the Java Ant and Maven build systems.

Greetings, Rusi


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to