Tammo van Lessen created BUILDR-681:
---------------------------------------

             Summary: An empty project creates target/webapp
                 Key: BUILDR-681
                 URL: https://issues.apache.org/jira/browse/BUILDR-681
             Project: Buildr
          Issue Type: Bug
          Components: Core features
    Affects Versions: 1.4.12
         Environment: jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on Java 
HotSpot(TM) 64-Bit Server VM
1.7.0_25-b17 [Windows 7-amd64]
            Reporter: Tammo van Lessen


After creating a new Buildr project with no src directory and the following 
definition:

desc "The prj project"
define "prj" do

  project.version = VERSION_NUMBER
  project.group = GROUP
  manifest["Implementation-Vendor"] = COPYRIGHT
end

Buildr creates a target/webapp directory, which does not really make sense.

C:\Users\vanto\dev\apache-ode-tomcat-bundle>buildr
Ignored
Ambiguous choice.  Please choose one of ["1", "2", "From directory structure", 
"Cancel"].
?Ignored1
Created C:/Users/vanto/dev/apache-ode-tomcat-bundle/buildfile
(in C:/Users/vanto/dev/apache-ode-tomcat-bundle, development)
Building apache-ode-tomcat-bundle
Completed in 23.815s

C:\Users\vanto\dev\apache-ode-tomcat-bundle>buildr
(in C:/Users/vanto/dev/apache-ode-tomcat-bundle, development)
Building apache-ode-tomcat-bundle
Completed in 0.494s

C:\Users\vanto\dev\apache-ode-tomcat-bundle>ls
buildfile  target

C:\Users\vanto\dev\apache-ode-tomcat-bundle>ls target
webapp



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to