My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 176: Document Makefile dependencies
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  bradneuberg
Closed:  Oct 19
Type-Defect
Priority-Low


Sign in to add a comment
 
Reported by bradneuberg, Jul 23, 2009
Document what tools are necessary to use the Makefile (Flex SDK, Java,
etc.); what build targets are available; and document the "Last Known Good
Build Environment" which can help establish a baseline environment that was
used to successfully build the project (useful just in case you come back
to a project years later and want to build it, and end up discovering
dependencies you didn't realize, such as a certain version of Make being
necessary).
Comment 1 by itsnyc, Sep 16, 2009
I posted a related query; for evaluation purposes, where is the makefile you mention?
 Is the project built with ant?  Thanks for you patience with endless questions.

Regards,

DKL
Comment 2 by bradneuberg, Sep 16, 2009
Questions are good!

We don't use Ant but rather use Make. 

To build, you will have to pull from Subversion. Building has only been tested with
Mac OS X, so Linux could be an issue. For Windows you would need Cygwin at a minimum
but that hasn't been tested.

As a dependency, you will also need javac and java in your class path, as well as the
Flex SDK.

To clobber the build:

make clean

To make a build:

make all

To control whether the JS is compressed (by default it is not):

make all COMPRESS=1

To control whether tests are copied into the build/ directory (not copied by default;
these are located in tests/).

make all COPY_TESTS=1

Once building you will need to access things using the local web server as normal in
build/. See the Quick Start guide for details on running things.

Good luck! :)
Comment 3 by bradneuberg, Sep 16, 2009
The Makefile is in the svgweb/ root, BTW.
Comment 4 by bruce.rindahl, Sep 16, 2009
FYI
I build on Windows XP with MingW and msys.  The jetty webserver does not compile but
I don't use it.  Also using both Flex3 and Flex4 SDK's
Comment 5 by grick23, Oct 11, 2009
I believe docs/DeveloperManual.html has adequate information for building as of r910.
Without objection this will be closed soon.
Status: Started
Comment 6 by bradneuberg, Oct 19, 2009
(No comment was entered for this change.)
Status: Done
Labels: -Priority-Medium Priority-Low
Sign in to add a comment

Hosted by Google Code