Multiple flex.dir locations

4 views
Skip to first unread message

michael.prescott

unread,
Sep 25, 2009, 3:48:48 PM9/25/09
to Antennae Discussion
When I build on my local machine, I need
flex.dir=/Applications/Adobe Flex Builder 3/sdks/3.4.0.9271
when I check in my source code my build machine automatically runs a
build and I need
flex.dir=/projects/tools/flex/sdks/3.4.0.9271

What is the best way to handle this without having change my build-
user.properties file before each check-in?

Logan Allred

unread,
Sep 25, 2009, 4:11:52 PM9/25/09
to antennae-...@googlegroups.com

We've done this in the past either with an environment variable, or we
override the value via the command line on the build server.

Logan

Logan Allred

unread,
Sep 25, 2009, 4:14:20 PM9/25/09
to antennae-...@googlegroups.com
On Fri, Sep 25, 2009 at 2:11 PM, Logan Allred <red...@gmail.com> wrote:
> We've done this in the past either with an environment variable, or we
> override the value via the command line on the build server.

You could also put a build-user.properties in your home directory, and
import that ahead of the local build-user.properties if it exists.

Logan

Daniel Rinehart

unread,
Sep 27, 2009, 8:22:20 AM9/27/09
to antennae-...@googlegroups.com
In addition to the suggestions Logan made, another approach is to
exclude the build-user.properties file from being checked into SVN or
if it is checked in, it is done under a different name. The build
machine can then have its own build-user.properties file or you could
configure the defaults to be what the build machine needs.

-- Daniel R. <dan...@neophi.com> [http://danielr.neophi.com/]
Reply all
Reply to author
Forward
0 new messages