vls template to create ant development hierarchy contains unset property

Description

The AndroMDA ships with the ANT folder where a ant build can be started that will generate the basic structure for an ant-based AndroMDA project.
The template for the ejb subfolder contains a small error, because an used ant property is not initialized.

In the build.xml.vsl file (ant/andromda/src/templates/j2ee-app/ejb/src/build.xml.vls) the property ${jar.bundle.name} is never initialized and is also not initialized by any property file. This property should be set to the application name and its version, like in the other subfolders.

Possible solution:
------------------
<?xml version="1.0" encoding="UTF-8"?>

<project default="dist" name="ejb" basedir=".">

<property name="app.root.dir" value="${basedir}/.."/>

<property file="${basedir}/build.properties"/>
<property file="${app.root.dir}/build.properties"/>

<property name="common.jar.bundle.name" value="${application.id}${ant.project.name}-common${application.version}.jar"/>
<property name="server.jar.bundle.name" value="${application.id}${ant.project.name}-server${application.version}.jar"/>

<

-->
<property name="jar.bundle.name" value="${application.id}${ant.project.name}${application.version}.jar"/>
<

-->

<property name="xdoclet.gen.dir" value="target/xdoclet/ejb"/>
<property name="ejb.descriptor.dir" value="${xdoclet.gen.dir}/META-INF"/>

[...]

</project>

Environment

AndroMDA 3M2, Win2k, (The nightly build on 08/11/04 still has the same problem)

Assignee

Former user

Reporter

Stefan Siegl

Labels

None

Time tracking

30m

Priority

Major
Configure