Jeff Haynie
unread,Feb 19, 2008, 10:48:40 PM2/19/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Appcelerator Platform SDK
I thought I'd try and outline some important changes made to SVN. This
is an important post - please read it and ask questions if you don't
understand or need more clarification.
First - the new directory structure is under component. src and build
are no longer used and have been migrated. The code in this path is
old and if you're checking anything into this directory - those
changes will be lost if you don't migrate them into component. I'll
explain where things should go next. These directories will be
deleted in the next week (I'll back them off and we'll still have them
in SVN revision history). So, please check your recent commits if
you've done this (Andrew, not sure who else) and make sure you move
your changes or they'll be lost.
Second - the new structure is laid out under the components
directory. This has been modeled to reflect how we have organized our
architecture:
- Runtime - this includes the installers and our command line binary.
I don't have a name yet for the "binary" -- any suggestions?
- Services - these are the language backends currently - java, dotnet,
php, etc. Over time, these will also include additional backends like
the upcoming Zend one.
- Websdk - this is mainly our JS and web assets (images, etc).
- Widgets - these are widgets (renamed widgets from modules). Each
widget is a standalone project.
- Plugins - plugins are a new concept we're introducing. I explain
more in a separate post. Each plugin is a standalone project.
At the top level is a Rakefile. There is also an updated README that
details what is needed to build. A few changes here.
- We no longer will be using ant to build the product. We've moved to
Rake because of speed and the ability to build a more sophisticated
build with much less XML crap.
- To build the entire product (including new installers), you'll need
to be on OSX. We'll be relaxing this if you just needed to build
other pieces (in fact you can do this today). You'll also need XCode
3.0 which means you'll need to be on Leopard for that. We need XCode
3.0 to use the new Packagemanager we're using for the OSX installer.
- To build the windows installer, you'll need NSIS. Linux/OSX users
can download the unix-based compiler. Using port, you can do: sudo
port install nsis
Each directory has a Rakefile which will build the subdirectories.
So, at each level you can build just the subprojects -- all the way
down to the end project. If you build from the top level, you'll get
the kitchen sink.
The Rakefile is setup in namespaces based on main components. So, to
build only the OSX installer, you could run
rake installer:osx
Or, to build java backend, you could do:
rake service:java
All tasks also have an all, such as rake installer:all
You'll also need a handful of gems. Namely: rake, hoe, hpricot, json,
maruku, rubyzip
Also, note, we're still moving some of the backends over to the new
directory. We should have all of them migrated in the next day.
More to follow...