You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Scott Kurz <sc...@gmail.com> on 2008/06/12 17:44:30 UTC

Simple way to run Tuscany from source distribution?

What's a simple way to run simple apps like the samples from the source
distribution?

I noticed on the Getting Started:
http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-the-command-line.html

it assumes you're running from the binary?

I'm looking for something either command-line or Ant-based and trying to
avoid Maven.

Thanks,
Scott

Re: Simple way to run Tuscany from source distribution?

Posted by Luciano Resende <lu...@gmail.com>.
Probably, a possible way to accomplish this would be to make the ant
scripts more flexible, and lookup the distribution based on a user
defined configuration. This way, you could get a distribution and
define where it is in your build properties and that would be used by
the ant scripts and allow you to build and run from source distro or
trunk.

On Thu, Jun 12, 2008 at 8:54 AM, Luciano Resende <lu...@gmail.com> wrote:
> Hey Scott
>
>   Currently, our ant script and guides are based on having a
> distribution available, and you will have to use maven if you want to
> build/run from trunk source or a source distribution.
>
>
> On Thu, Jun 12, 2008 at 8:44 AM, Scott Kurz <sc...@gmail.com> wrote:
>> What's a simple way to run simple apps like the samples from the source
>> distribution?
>>
>> I noticed on the Getting Started:
>> http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-the-command-line.html
>>
>> it assumes you're running from the binary?
>>
>> I'm looking for something either command-line or Ant-based and trying to
>> avoid Maven.
>>
>> Thanks,
>> Scott
>>
>
>
>
> --
> Luciano Resende
> Apache Tuscany Committer
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: Simple way to run Tuscany from source distribution?

Posted by Scott Kurz <sc...@gmail.com>.
Thanks for responding.

I realized that for all I really want to do I can just point to the mvn
build's directory:


distribution/target/apache-tuscany-sca-2.0-incubating-SNAPSHOT.dir/tuscany-sca-2.0-incubating-SNAPSHOT

I'd looked for something like this and not found it before so assumed the
build was collecting the binary distribution contents from
diverse places... but it's all right there.    (I must not have completed
the build before).

So I guess that was a bit obvious but thanks anyway.

Scott


On Fri, Jun 13, 2008 at 6:29 PM, Jean-Sebastien Delfino <
jsdelfino@apache.org> wrote:

> Luciano Resende wrote:
>
>> Hey Scott
>>
>>   Currently, our ant script and guides are based on having a
>> distribution available, and you will have to use maven if you want to
>> build/run from trunk source or a source distribution.
>>
>>
>> On Thu, Jun 12, 2008 at 8:44 AM, Scott Kurz <sc...@gmail.com> wrote:
>>
>>> What's a simple way to run simple apps like the samples from the source
>>> distribution?
>>>
>>> I noticed on the Getting Started:
>>>
>>> http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-the-command-line.html
>>>
>>> it assumes you're running from the binary?
>>>
>>> I'm looking for something either command-line or Ant-based and trying to
>>> avoid Maven.
>>>
>>> Thanks,
>>> Scott
>>>
>>>
> There are two other ways:
>
> - write the Ant scripts to build Tuscany
> - use them to build the source distro
> - contribute them to Tuscany
>
> or
>
> - write the Ivy scripts to build Tuscany
> - use them to build the source distro
> - contribute them to Tuscany
>
> Who knows, Tuscany may even adopt them :)
> --
> Jean-Sebastien
>

Re: Simple way to run Tuscany from source distribution?

Posted by Jean-Sebastien Delfino <js...@apache.org>.
Luciano Resende wrote:
> Hey Scott
> 
>    Currently, our ant script and guides are based on having a
> distribution available, and you will have to use maven if you want to
> build/run from trunk source or a source distribution.
> 
> 
> On Thu, Jun 12, 2008 at 8:44 AM, Scott Kurz <sc...@gmail.com> wrote:
>> What's a simple way to run simple apps like the samples from the source
>> distribution?
>>
>> I noticed on the Getting Started:
>> http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-the-command-line.html
>>
>> it assumes you're running from the binary?
>>
>> I'm looking for something either command-line or Ant-based and trying to
>> avoid Maven.
>>
>> Thanks,
>> Scott
>>

There are two other ways:

- write the Ant scripts to build Tuscany
- use them to build the source distro
- contribute them to Tuscany

or

- write the Ivy scripts to build Tuscany
- use them to build the source distro
- contribute them to Tuscany

Who knows, Tuscany may even adopt them :)
-- 
Jean-Sebastien

Re: Simple way to run Tuscany from source distribution?

Posted by Luciano Resende <lu...@gmail.com>.
Hey Scott

   Currently, our ant script and guides are based on having a
distribution available, and you will have to use maven if you want to
build/run from trunk source or a source distribution.


On Thu, Jun 12, 2008 at 8:44 AM, Scott Kurz <sc...@gmail.com> wrote:
> What's a simple way to run simple apps like the samples from the source
> distribution?
>
> I noticed on the Getting Started:
> http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-the-command-line.html
>
> it assumes you're running from the binary?
>
> I'm looking for something either command-line or Ant-based and trying to
> avoid Maven.
>
> Thanks,
> Scott
>



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/