I'm trying to generate two different Qooxdoo applications which need
to coexist in the same output directory when I run 'generate.py build'
on each. Since the two applications have different names, this isn't
such a big deal for the JavaScript files, but I have two questions
about how to get the build to behave correctly:

First, I tried shadowing the 'build' target with the following options
in both config.json files:
"build" : {
  "compile-options" : {
    "paths" : {
      "app-root" : "../common_build"
    }
  }
}
but this does not appear to have changed the results of the build
output. Both applications still built directly into their 'build'
directory internal to the application.

Second, both applications will have an index.html file which will
result in a collision between them when they are building into the
same target directory. I would like one to have an 'index.html' file
and the other to have a different name, e.g. 'common.html'. I tried
accomplishing this by shadowing the 'build-files' target with the
following:
"build-files" : {
  "copy-files" : {
    "files" : ["common.html"]
  }
}
and renaming the index.html in that Qooxdoo application to
common.html. Is this the proper way to go about it? It appears to have
worked as I intend (within the limits of figuring out my first
problem), but I just want to be sure this is the proper way to change
the index.html name in a Qooxdoo application.

--Greg

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to