www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Mmrnmhrm 0.2.2 released

Mmrnmhrm 0.2.2 has been released.

Available here: http://www.dsource.org/projects/descent/wiki/Mmrnmhrm


== Mmrnmhrm 0.2.2 (2007-11-13) ==
  * Fixed dependency on the org.junit plugin, and consequently on JDT.
  * Fixed SWT debug colors allways on.
  * Fixed Source Coloring preference page "Basic types" entry bug.
  * Removed unused DTLK project script builder (fix only takes effect on 
new projects).
  * Rethought and implemented the integrated project builder, based on a 
simple IDE-managed response file. It should be ready for use now.

The significant change in this release is the builder. For more info see 
the following documentation changes:

'''Builder and launch:'''
There is some support for integrated builder functionality, namely, the 
IDE can automatically manage some of the build settings according to the 
IDE's D project configuration. The build settings can be accessed on the 
"D Compile Options" project properties page. Here's how it works: 
Mmrnmhrm will create a build.rf file in the project root folder and then 
invoke a builder according to the "Build Command:" configuration entry. 
You can, and should, specify arguments to the build command here, such 
as the response file "build.rf". The contents of the build.rf file will 
be the same as the "Managed Response File" configuration entry, except 
that some special tokens will be replaced according to the IDE's project 
configuration. With this functionality it should be possible to use any 
builder, such as [http://www.dsource.org/projects/dsss/wiki/Rebuild 
rebuild], [http://www.dsource.org/projects/build/ bud], or even DMD 
itself. New D projects have a default builder configuration set up for 
usage with rebuild, which should work out of the box if you have rebuild 
on the path. The available replace tokens are:
  * $DEEBUILDER.OUTPUTPATH - Project relative output path
  * $DEEBUILDER.OUTPUTEXE - Project relative output executable path
  * $DEEBUILDER.SRCLIBS.-I - Absolute path of all source libs, each 
prefixed by "-I" and separated by newlines
  * $DEEBUILDER.SRCFOLDERS.-I - Project relative  path of all source 
folder, each prefixed by "-I" and separated by newlines
  * $DEEBUILDER.SRCMODULES - All source modules (.d files) found in the 
project's source folders, separated by newlines
Also, the IDE will run the build command with a modified path: The DMD 
compiler path will be added as the first entry in the proccess PATH 
environment variable [This is because rebuild doesn't have an option to 
specify the compiler and bud's -DCPATH is currently broken]. This path 
is obtained from the configured "interpreter" of the D project. [[BR]]
When run, the builder will print its output on the Eclipse console. If 
by any reason you have problems with the builder, it can be disabled on 
the Builders page of the project properties. [[BR]]

Create a new D Mmrnmhrm project with the new D project wizard. There is 
no D perspective in Mmrnmhrm yet, but you can create a copy of the 
resource perspective (open the context menu on the perspective icon, 
select "Save As"). Use the Script Explorer view to see and manipulate 
the project model, as DTLK doesn't yet support the Project Explorer 
View. Also, you may wish to customize the perspective's actions, so that 
the Launch Action Set appears (open the context menu on the perspective 
icon, "Customize", "Commands", enable "Launch" on the "Available command 

Bruno Medeiros - MSc in CS/E student
Nov 13 2007