Two days ago I made a major change to the Apparat repository. I completely restructured the layout and fully integrated Apparat with Maven. We have now a plugin and archetypes for easy tooling. I also synchronized Apparat with the Maven central repository two weeks ago.
You might ask what the hell this is about. So in the current state you can download Apparat from Google Code. Then you have to have a working Scala installation which has been used to build Apparat. Whenever Scala is updated, I have to updated Apparat, and you will have to download Apparat again and install a new Scala version. This is absolutely cumbersome. This will change of course when Scala 2.8 is officially released.
I know that some people will always require command line access for Apparat. I am sorry for you at the moment that we have to play this game until 2.8 is out.
For the rest this is good news. If you have a working Maven 3.x version you can use the Apparat plugin and get automatic updates. This means you have to configure your project only once and do not bother with Scala and Apparat anymore. In fact if you want to you could also use the Apparat snapshot repository and get live updates.
Project configuration and setup is something one should not have to deal with. Therefore you can use the archetypes. I have built one for TurboDieselSportInjection.
mvn archetype:generate \
-DarchetypeRepository=http://oss.sonatype.org/content/repositories/snapshots \
-DarchetypeGroupId=com.googlecode.apparat \
-DarchetypeArtifactId=apparat-archetype-tdsi \
-DarchetypeVersion=1.0-SNAPSHOT
This terminal command is all you need to do to create a new project that is ready to compile — with TurboDieselSportInjection enabled. And it will automatically use the latest Apparat version.
Time to learn Maven. –BTW, If Maven uses the same jar each time, does that mean I can use fcsh with it?
You do not have to deal with FCSH at all. FlexMojos — which is a Maven plugin to compile ActionScript — handles all this for you. And it is using the Flex Compiler API and you can use incremental compilation. But this is also done by the ActionScript compiler if you specify the “-incremental” flag.