You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Sreedhar Tatavarthi <si...@yahoo.com> on 2002/02/20 22:41:18 UTC

How to build

Hi all,

Just downloaded XML-RPC. Can anyone tell me how to
buil this? I made the necesary changes to
build.properties file.


Thanks
Sreedhar

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

Re: How to build

Posted by Jason van Zyl <jv...@zenplex.com>.
On Thu, 2002-02-21 at 03:03, Martin Skopp wrote:
> Hi Developers,
> 
> At 15:25 20.02.2002 -0800, you wrote:
> >It probably means that the version of Ant you're using is too old.
> >What's the output of `ant -version`?  I would expect Ant 1.3 to work,
> >and know Ant 1.4+ works.
> 
> Shouldn't a decent version of ant be part of the archive (in a "lib" dir)?
> Together with a smart build.bat / build.sh (which invokes ant properly) in 
> the root directory!?

Nope, certainly not. If you install Ant properly you don't need several
copies of the Ant JAR lying around. I build 92 projects (just for fun
:-)) on a regular basis so if each one of these had their own Ant jar
things would get pretty out of hand.
 
> Don't know about any apache conventions, but that's the way we organise our 
> CVS sources here...
> 
> Just a idea...

I much prefer the 'You have to install Ant' option.

> Martin Skopp
> -- 
> Erst lesen, dann schreiben: http://learn.to/quote
> 
> Riege Software International GmbH
> http://www.riege.com  info: mailto:info@riege.com
> Support: mailto:maint@riege.de
-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://tambora.zenplex.org


Re: How to build

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Martin Skopp <sk...@riege.de> writes:

> Hi Developers,
>
> At 15:25 20.02.2002 -0800, you wrote:
> >It probably means that the version of Ant you're using is too old.
>>What's the output of `ant -version`?  I would expect Ant 1.3 to work,
>>and know Ant 1.4+ works.
>
> Shouldn't a decent version of ant be part of the archive (in a "lib" dir)?
> Together with a smart build.bat / build.sh (which invokes ant
> properly) in the root directory!?
>
> Don't know about any apache conventions, but that's the way we
> organise our CVS sources here...

As Jason says, it's much better to just install Ant.  How many open
source projects using `make` have you seen which bundle it?  That's
what I thought.

http://jakarta.apache.org/ant/

The only reasonable need for bundling Ant is if you have non-standard
changes upon which you rely.  In such a scenario, on usually writes
platform-specific scripts to apply the custom patches and run the Ant
bootstrapper.  For XML-RPC, we definitely do not have such a scenario.

                             Thanks, Dan

Re: How to build

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Martin Skopp <sk...@riege.de> writes:

> Hi Developers,
>
> At 15:25 20.02.2002 -0800, you wrote:
> >It probably means that the version of Ant you're using is too old.
>>What's the output of `ant -version`?  I would expect Ant 1.3 to work,
>>and know Ant 1.4+ works.
>
> Shouldn't a decent version of ant be part of the archive (in a "lib" dir)?
> Together with a smart build.bat / build.sh (which invokes ant
> properly) in the root directory!?
>
> Don't know about any apache conventions, but that's the way we
> organise our CVS sources here...

As Jason says, it's much better to just install Ant.  How many open
source projects using `make` have you seen which bundle it?  That's
what I thought.

http://jakarta.apache.org/ant/

The only reasonable need for bundling Ant is if you have non-standard
changes upon which you rely.  In such a scenario, on usually writes
platform-specific scripts to apply the custom patches and run the Ant
bootstrapper.  For XML-RPC, we definitely do not have such a scenario.

                             Thanks, Dan

Re: How to build

Posted by Jason van Zyl <jv...@zenplex.com>.
On Thu, 2002-02-21 at 03:03, Martin Skopp wrote:
> Hi Developers,
> 
> At 15:25 20.02.2002 -0800, you wrote:
> >It probably means that the version of Ant you're using is too old.
> >What's the output of `ant -version`?  I would expect Ant 1.3 to work,
> >and know Ant 1.4+ works.
> 
> Shouldn't a decent version of ant be part of the archive (in a "lib" dir)?
> Together with a smart build.bat / build.sh (which invokes ant properly) in 
> the root directory!?

Nope, certainly not. If you install Ant properly you don't need several
copies of the Ant JAR lying around. I build 92 projects (just for fun
:-)) on a regular basis so if each one of these had their own Ant jar
things would get pretty out of hand.
 
> Don't know about any apache conventions, but that's the way we organise our 
> CVS sources here...
> 
> Just a idea...

I much prefer the 'You have to install Ant' option.

> Martin Skopp
> -- 
> Erst lesen, dann schreiben: http://learn.to/quote
> 
> Riege Software International GmbH
> http://www.riege.com  info: mailto:info@riege.com
> Support: mailto:maint@riege.de
-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://tambora.zenplex.org


Re: How to build

Posted by Martin Skopp <sk...@riege.de>.
Hi Developers,

At 15:25 20.02.2002 -0800, you wrote:
>It probably means that the version of Ant you're using is too old.
>What's the output of `ant -version`?  I would expect Ant 1.3 to work,
>and know Ant 1.4+ works.

Shouldn't a decent version of ant be part of the archive (in a "lib" dir)?
Together with a smart build.bat / build.sh (which invokes ant properly) in 
the root directory!?

Don't know about any apache conventions, but that's the way we organise our 
CVS sources here...

Just a idea...

Martin Skopp
-- 
Erst lesen, dann schreiben: http://learn.to/quote

Riege Software International GmbH
http://www.riege.com  info: mailto:info@riege.com
Support: mailto:maint@riege.de


Re: How to build

Posted by Martin Skopp <sk...@riege.de>.
Hi Developers,

At 15:25 20.02.2002 -0800, you wrote:
>It probably means that the version of Ant you're using is too old.
>What's the output of `ant -version`?  I would expect Ant 1.3 to work,
>and know Ant 1.4+ works.

Shouldn't a decent version of ant be part of the archive (in a "lib" dir)?
Together with a smart build.bat / build.sh (which invokes ant properly) in 
the root directory!?

Don't know about any apache conventions, but that's the way we organise our 
CVS sources here...

Just a idea...

Martin Skopp
-- 
Erst lesen, dann schreiben: http://learn.to/quote

Riege Software International GmbH
http://www.riege.com  info: mailto:info@riege.com
Support: mailto:maint@riege.de


Re: How to build

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Sreedhar Tatavarthi <si...@yahoo.com> writes:

> Thanks. I did run "ant"...but now it says.
>
> Buildfile: build.xml
>
> BUILD FAILED
>
> build.xml:17: Unexpected element "path"
>
> Total time: 0 seconds
>
>
> Where Line 17 in build.xml is:
>
> <path id="classpath">
>     <pathelement location="${jsse.jar}"/>
>     <pathelement location="${jnet.jar}"/>
>     <pathelement location="${jcert.jar}"/>
>     <pathelement location="${servlet.jar}"/>
>   </path>
>
>
> What does this mean? I have my classpath set. And
> jsse.jar,jnet.jar,jcert.jar point to the path where
> they are located.

It probably means that the version of Ant you're using is too old.
What's the output of `ant -version`?  I would expect Ant 1.3 to work,
and know Ant 1.4+ works.

Dan

Re: How to build

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Sreedhar Tatavarthi <si...@yahoo.com> writes:

> Thanks. I did run "ant"...but now it says.
>
> Buildfile: build.xml
>
> BUILD FAILED
>
> build.xml:17: Unexpected element "path"
>
> Total time: 0 seconds
>
>
> Where Line 17 in build.xml is:
>
> <path id="classpath">
>     <pathelement location="${jsse.jar}"/>
>     <pathelement location="${jnet.jar}"/>
>     <pathelement location="${jcert.jar}"/>
>     <pathelement location="${servlet.jar}"/>
>   </path>
>
>
> What does this mean? I have my classpath set. And
> jsse.jar,jnet.jar,jcert.jar point to the path where
> they are located.

It probably means that the version of Ant you're using is too old.
What's the output of `ant -version`?  I would expect Ant 1.3 to work,
and know Ant 1.4+ works.

Dan

Re: How to build

Posted by Sreedhar Tatavarthi <si...@yahoo.com>.
Thanks. I did run "ant"...but now it says.

Buildfile: build.xml

BUILD FAILED

build.xml:17: Unexpected element "path"

Total time: 0 seconds


Where Line 17 in build.xml is:

<path id="classpath">
    <pathelement location="${jsse.jar}"/>
    <pathelement location="${jnet.jar}"/>
    <pathelement location="${jcert.jar}"/>
    <pathelement location="${servlet.jar}"/>
  </path>


What does this mean? I have my classpath set. And
jsse.jar,jnet.jar,jcert.jar point to the path where
they are located.

Thanks
Sreedhar


--- Daniel Rall <dl...@finemaltcoding.com> wrote:
> Sreedhar Tatavarthi <si...@yahoo.com> writes:
> 
> > Hi all,
> >
> > Just downloaded XML-RPC. Can anyone tell me how to
> > buil this? I made the necesary changes to
> > build.properties file.
> 
> Just running `ant` from inside your xml-rpc/
> directory should be
> enough to build.


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

Re: How to build

Posted by Sreedhar Tatavarthi <si...@yahoo.com>.
Thanks. I did run "ant"...but now it says.

Buildfile: build.xml

BUILD FAILED

build.xml:17: Unexpected element "path"

Total time: 0 seconds


Where Line 17 in build.xml is:

<path id="classpath">
    <pathelement location="${jsse.jar}"/>
    <pathelement location="${jnet.jar}"/>
    <pathelement location="${jcert.jar}"/>
    <pathelement location="${servlet.jar}"/>
  </path>


What does this mean? I have my classpath set. And
jsse.jar,jnet.jar,jcert.jar point to the path where
they are located.

Thanks
Sreedhar


--- Daniel Rall <dl...@finemaltcoding.com> wrote:
> Sreedhar Tatavarthi <si...@yahoo.com> writes:
> 
> > Hi all,
> >
> > Just downloaded XML-RPC. Can anyone tell me how to
> > buil this? I made the necesary changes to
> > build.properties file.
> 
> Just running `ant` from inside your xml-rpc/
> directory should be
> enough to build.


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

Re: How to build

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Sreedhar Tatavarthi <si...@yahoo.com> writes:

> Hi all,
>
> Just downloaded XML-RPC. Can anyone tell me how to
> buil this? I made the necesary changes to
> build.properties file.

Just running `ant` from inside your xml-rpc/ directory should be
enough to build.

Re: How to build

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Sreedhar Tatavarthi <si...@yahoo.com> writes:

> Hi all,
>
> Just downloaded XML-RPC. Can anyone tell me how to
> buil this? I made the necesary changes to
> build.properties file.

Just running `ant` from inside your xml-rpc/ directory should be
enough to build.