From: <jpp...@gm...> - 2005-12-20 18:35:36
|
OK, this one is just to let you know that I _finally_ made the switch from building the Platform with VS to building with NAnt. The build files are available in the CVS repository, and there is 1 build file for each project and solution (and for the platform itself). For each project, I made available the targets "build" (just builds the dll and places it in the right place), "clean" (cleans the generated dlls and pdbs), "copyFiles" (copies auxilliary files, like plugin manifests, to the right place) and "deploy" (just calls "build" and "copyFiles). "build" and "copyFiles" are available only to projects (like Java or Core.Runtime). To build a project/plugin (like, say, Java or UI.WorkBench), go to the directory of the project and type: "nant deploy" (or "nant build"; see above for explanation). To build the set of Core plugins (or the SWT_UI plugins, or whatever), go to the directory where the respective solution resides and type (what else?): "nant deploy". To build the platform itself, go to the src_platform directory and type "nant deploy" . Also, I'm including in the src_platform module the libraries and other files needed to execute the platform, so that if the "bin" module has not been downloaded, "nant deploy" will indeed build everything, setting up the platform for first time use. This will also render the "bin" module obsolete (but I will not delete anything from it unless we all agree that the module is no longer needed; if anyone disagrees with this, you should let me know). I also took the opportunity to relocate some of the resource files, as VS has a nasty way to generate namespaces for embedded resources (I know that it should be <default namespace> + "." + <path from root of project to resource> + <name of resource> , but I've seen this rule not being applied sometimes... :\ ) So, with the new build files, the namespace should be nothing (unless otherwise specified in the build file, but I've left all resources at the empty namespace). Hopefully this will make it much easier to build the platform, and (finally) remove the dependency on VS that I had wanted to remove for so long a time... OK, nothing else coming to mind right now, so I'll end this mail here. If anyone has any comments, you know the address of the mailing list ;) . Best regards, JS P.S.: I'm still committing some of the files, so don't be surprised if some of the files don't appear right away. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.1/207 - Release Date: 19-12-2005 |