Skip to content

Commit

Permalink
Ant build: added project title variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Penner committed Feb 10, 2010
1 parent 542ffa7 commit 35c3b97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions build.properties
@@ -1,5 +1,6 @@
# Properties file for build.xml
project.name=as3-signals
project.title=AS3 Signals

# Version number for current releases
ver.num=v0.5
Expand Down
8 changes: 4 additions & 4 deletions build.xml
Expand Up @@ -33,7 +33,7 @@
</target>

<!-- Build Documentation -->
<target name="asdoc" depends="swc,clean-asdoc" description="Create API docs for Signals">
<target name="asdoc" depends="swc,clean-asdoc" description="Create API docs for ${project.title}">
<echo>Generating ASDOC documentation...</echo>
<tstamp>
<format property="docgen.time" pattern="MM/dd/yyyy hh:mm aa" unit="hour"/>
Expand All @@ -43,9 +43,9 @@
<arg line="-doc-sources ${src.dir}/${package.dir}"/>
<arg line="-source-path ${src.dir}"/>
<arg line="-output ${docs.dir}"/>
<arg line="-window-title 'AS3 Signals ${ver.num}'"/>
<arg line="-main-title 'AS3 Signals ${ver.num}'"/>
<arg line="-footer 'AS3 Signals - Documentation generated at: ${docgen.time}'"/>
<arg line="-window-title '${project.title} ${ver.num}'"/>
<arg line="-main-title '${project.title} ${ver.num}'"/>
<arg line="-footer '${project.title} - Documentation generated at: ${docgen.time}'"/>
</java>
<echo>ASDOC documentation generated successfully</echo>
</target>
Expand Down

0 comments on commit 35c3b97

Please sign in to comment.