jvanzyl     02/03/18 09:48:57

  Modified:    src/java/org/apache/maven/project Project.java
  Log:
  Adding distributionDirectory property. Working on maven:deploy-dist target
  to automatically move the distributions up to the jakarta site.
  
  Revision  Changes    Path
  1.7       +23 -1     
jakarta-turbine-maven/src/java/org/apache/maven/project/Project.java
  
  Index: Project.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/project/Project.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Project.java      16 Mar 2002 19:49:13 -0000      1.6
  +++ Project.java      18 Mar 2002 17:48:57 -0000      1.7
  @@ -60,7 +60,7 @@
   
   /**
    * @author <a href="mailto:[EMAIL PROTECTED]";>Jason van Zyl</a>
  - * @version $Id: Project.java,v 1.6 2002/03/16 19:49:13 jvanzyl Exp $
  + * @version $Id: Project.java,v 1.7 2002/03/18 17:48:57 jvanzyl Exp $
    */
   public class Project
        extends BaseObject
  @@ -138,6 +138,12 @@
       private String siteDirectory;
   
       /**
  +     * The directory on the server where the distributions are stored.
  +     * There are source and binary distributions.
  +     */
  +    private String distributionDirectory;
  +
  +    /**
        * Default constructor.
        */
       public Project()
  @@ -179,6 +185,22 @@
       public String getSiteDirectory()
       {
           return siteDirectory;
  +    }        
  +
  +    /**
  +     * Set the distribution directory.
  +     */
  +    public void setDistributionDirectory(String distributionDirectory)
  +    {
  +        this.distributionDirectory = distributionDirectory;
  +    }
  +    
  +    /**
  +     * Get the distribution directory.
  +     */
  +    public String getDistributionDirectory()
  +    {
  +        return distributionDirectory;
       }        
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to