Changeset 641

Show
Ignore:
Timestamp:
04/29/07 11:11:46 (2 years ago)
Author:
schst
Message:

Ask for project name during setup (closes ticket #38)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/resources/phing/build-stubbles.xml

    r640 r641  
    2525    <echo>| Setting up build system        |</echo> 
    2626    <echo>----------------------------------</echo> 
     27    <input propertyname="project.new.name" promptChar=":">Please enter the name of your project</input> 
    2728    <touch file="${project.basedir}/build.properties"/> 
    28     <move file="${project.basedir}/build-dist.xml" tofile="${project.basedir}/build.xml" overwrite="false"/> 
     29    <move file="${project.basedir}/build-dist.xml" tofile="${project.basedir}/build.xml" overwrite="false"> 
     30      <filterchain> 
     31        <expandproperties /> 
     32      </filterchain> 
     33    </move> 
    2934    <move file="${project.basedir}/config/php/config-dist.php" tofile="${project.basedir}/config/php/config.php" overwrite="false"/> 
    3035  </target> 
  • trunk/src/main/resources/phing/build.xml

    r632 r641  
    11<?xml version="1.0"?> 
    2 <project name="YourProject" basedir="." default="main"> 
     2<project name="${project.new.name}" basedir="." default="main"> 
    33 
    44  <!--