Building the GXE

2 views
Skip to first unread message

JAndrews

unread,
Feb 12, 2009, 11:11:21 AM2/12/09
to opengxe-discuss
It seems clear from the fact that the build script contains only one
public target and that there's a "dependencies" file, that the project
was not intended to be built from ant--but rather, using some build
management tool like Hudson or Maven (neither of which I'm familiar
with, sad to say). Since the Eclipse configuration was checked in, it
looks like development builds might be managed from Eclipse.

Could we get some more clues as to what the normal build process and
tool set is supposed to look like?

I'd be happy to write this up for the wiki, if anyone's interested.

Edward Schwarz

unread,
Feb 12, 2009, 11:26:26 AM2/12/09
to opengxe...@googlegroups.com
Hi guys,

It does build from Ant. Although I am not failiar with the techniques, the ant target "all-depend" in the root directory should build the whole thing.

What you need to build:
    jdk1.5
    subversion
    ant

(1) check out the trunk. the subprojects will be subdirectories

(2) You need to set up "build.properties" in each sub-project (subdirectory) which set the single property "opengxe.root.dir" to the directory where the "build.xml" is for the whole opengxe project (last I heard, this was in the root of "trunk"). Use an absolute path, like so:

opengxe.root.dir=/Users/edward/Gorilla/dev/gxe/workspacexx/opengxe

Then you need to set the necessary props in "common.properties" in the opengxe.root.dir, just the ones you need, for example see below my sig:

OK, each projec t will have the targets
    clean
    build

and should build individually. In addition, you should be able to do the targets
   all-clean
   all-depend

in the root "opengxe" project to build the whole thing to a deployable war file.

- Ed

# sample developer common.properties

###################################################################
# opengxe root directory
###################################################################
opengxe.root.dir=/Users/edward/Gorilla/dev/gxe/workspace/opengxe

####################################################################
# Flex SDK settings
####################################################################
FLEX_HOME=/Users/edward/Gorilla/Tools/Flex/Adobe\ Flex\ Builder\ 3\ Plug-in/sdks/3.0.0

###################################################################
# SVN integration
###################################################################
svn.username=edward....@gorillalogic.com
svn.password=wunchaliketaknow

###################################################################
# tomcat integration
###################################################################
tomcat.home=/Users/edward/Gorilla/dev/gxe/tomcat/tomcat5.5.26/8888/apache-tomcat-5.5.26
server.name=localhost
server.port=8888
tomcat.manager.username=tomcat
tomcat.manager.password=tomcat
Reply all
Reply to author
Forward
0 new messages