You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2005/01/21 13:12:36 UTC

install target integrated into default target webapp

As discussed some time ago I have introduced the property

web.server.app (e.g. Jetty, Tomcat, WLS)

in order to different during installing the webapp.

This makes the "ant install" for Tomcat obsolete, resp. one only
has to type

ant

and set the web.server.app correctly within local.build.properties or type

ant -Dweb.server.app=Tomcat

Beside tha I have introduced a build message at the very end which 
hopefully helps people to get started.

Michi

-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: ant only versus build [WAS:Re: install target integrated into default target webapp]

Posted by Michael Wechner <mi...@wyona.com>.
Gregor J. Rothfuss wrote:

>>
>> Why not tell people to set their env variable, e.g.
>>
>> export ANT_HOME=LENYA_SOURCE_DIR/tools
>> export PATH=$ANT_HOME/bin:$PATH
>
>
> when i first started to use lenya, the build process sucked precisely 
> because you had to do all these unecessary steps. i'd rather not go 
> back to those times.


fair enough


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: ant only versus build [WAS:Re: install target integrated into default target webapp]

Posted by Andreas Hartmann <an...@apache.org>.
Gregor J. Rothfuss wrote:
> Michael Wechner wrote:
> 
>>> we should not propagate using ant directly
>>
>>
>> well, I am not sure if I should agree or not.
>>
>> Pro ant only: platform independence versus platform dependence  
>> build.sh/bat
>>
>> Pro build.sh/bat: simple usage
> 
> 
> * makes sure classpath is set, and the right ant is used
> 
>> Is there any other reason for introducing the build scripts?
>>
>> Why not tell people to set their env variable, e.g.
>>
>> export ANT_HOME=LENYA_SOURCE_DIR/tools
>> export PATH=$ANT_HOME/bin:$PATH
> 
> 
> when i first started to use lenya, the build process sucked precisely 
> because you had to do all these unecessary steps. i'd rather not go back 
> to those times.

+1

For the average windows user, setting environment variables is
quite a huge barrier :)

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: ant only versus build [WAS:Re: install target integrated into default target webapp]

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Michael Wechner wrote:

>> we should not propagate using ant directly
> 
> well, I am not sure if I should agree or not.
> 
> Pro ant only: platform independence versus platform dependence  
> build.sh/bat
> 
> Pro build.sh/bat: simple usage

* makes sure classpath is set, and the right ant is used

> Is there any other reason for introducing the build scripts?
> 
> Why not tell people to set their env variable, e.g.
> 
> export ANT_HOME=LENYA_SOURCE_DIR/tools
> export PATH=$ANT_HOME/bin:$PATH

when i first started to use lenya, the build process sucked precisely 
because you had to do all these unecessary steps. i'd rather not go back 
to those times.

-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


ant only versus build [WAS:Re: install target integrated into default target webapp]

Posted by Michael Wechner <mi...@wyona.com>.
Gregor J. Rothfuss wrote:

> Michael Wechner wrote:
>
>>> you mean build
>>
>>
>> no I mean "ant", but since the build.sh/bat is just passing on the 
>> arguments it should also work with "build.sh/bat"
>
>
> we should not propagate using ant directly


well, I am not sure if I should agree or not.

Pro ant only: platform independence versus platform dependence  build.sh/bat

Pro build.sh/bat: simple usage

Is there any other reason for introducing the build scripts?

Why not tell people to set their env variable, e.g.

export ANT_HOME=LENYA_SOURCE_DIR/tools
export PATH=$ANT_HOME/bin:$PATH

?

Michi


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: install target integrated into default target webapp

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Michael Wechner wrote:

>> you mean build
> 
> no I mean "ant", but since the build.sh/bat is just passing on the 
> arguments it should also work with "build.sh/bat"

we should not propagate using ant directly

-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: install target integrated into default target webapp

Posted by Michael Wechner <mi...@wyona.com>.
Gregor J. Rothfuss wrote:

> Michael Wechner wrote:
>
>> As discussed some time ago I have introduced the property
>>
>> web.server.app (e.g. Jetty, Tomcat, WLS)
>>
>> in order to different during installing the webapp.
>>
>> This makes the "ant install" for Tomcat obsolete, resp. one only
>> has to type
>>
>> ant
>
>
> you mean build


no I mean "ant", but since the build.sh/bat is just passing on the 
arguments it should also work with "build.sh/bat"




-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: install target integrated into default target webapp

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Michael Wechner wrote:
> As discussed some time ago I have introduced the property
> 
> web.server.app (e.g. Jetty, Tomcat, WLS)
> 
> in order to different during installing the webapp.
> 
> This makes the "ant install" for Tomcat obsolete, resp. one only
> has to type
> 
> ant

you mean build

ant is not recommended as it does not use the ant that ships with lenya


-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org