You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Simon Nash <na...@hursley.ibm.com> on 2007/05/02 12:36:22 UTC

ant build scripts for SCA samples

I saw the following discussion in Monday's IRC chat log.  (I couldn't
attend the chat because I was on a plane.)

> [12:37] <ant_> oh, so with the samples again, I guess we need Ant build scripts
> [12:37] <ant_> lresende, it does right now and i think thats good to do
> [12:38] <jsdelfino> yes, +1 for the sample bins
> [12:38] <lresende> yes, i like that, but haven't looked into your distro strawman yet
> [12:38] <slaws> ant_  - a non maven build solution for samples would be useful
> [12:38] <ant_> do we want mvn as well or just Ant?
> [12:39] <jsdelfino> what's the work required to have a mvn build for the samples? don't we already have bit?
> [12:39] <jsdelfino> I think we could keep the mvn build, but document the ant one
> [12:40] <slaws> if we have two we need to decide whether we maintain two or just fix up ant for releases
> [12:40] <ant_> ok. i guess we just need to make sure the sample mvn's work in the build distro with an empty local repo
> [12:41] <ant_> would anyone like to volunteer to create an Ant script for one of the samples?
> [12:42] <jsdelfino> anyone? it shouldn't be too hard, we even had this in M1...
> [12:42] <slaws> didn't someone already create some for a previous release that we can lift
> [12:42] <halehM> Maybe someone on the mailing  list who is not on the IRC?
> [12:42] <halehM> post on mailing list?
> [12:43] <ant_> ok, lets skip that one for now then

I did some work on this for M2 but nothing was included in the
release because of disagreements about some aspects of my proposal.
The two main issues were how webapps get built and how dependencies
are resolved.  I'll look at this again based on the currently proposed
release packaging.

   Simon



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


Re: ant build scripts for SCA samples

Posted by Simon Laws <si...@googlemail.com>.
On 5/2/07, ant elder <an...@gmail.com> wrote:
>
> On 5/2/07, Simon Laws <si...@googlemail.com> wrote:
> >
> > On 5/2/07, Simon Nash <na...@hursley.ibm.com> wrote:
> > >
> > > I saw the following discussion in Monday's IRC chat log.  (I couldn't
> > > attend the chat because I was on a plane.)
> > >
> > > > [12:37] <ant_> oh, so with the samples again, I guess we need Ant
> > build
> > > scripts
> > > > [12:37] <ant_> lresende, it does right now and i think thats good to
> > do
> > > > [12:38] <jsdelfino> yes, +1 for the sample bins
> > > > [12:38] <lresende> yes, i like that, but haven't looked into your
> > distro
> > > strawman yet
> > > > [12:38] <slaws> ant_  - a non maven build solution for samples would
> > be
> > > useful
> > > > [12:38] <ant_> do we want mvn as well or just Ant?
> > > > [12:39] <jsdelfino> what's the work required to have a mvn build for
> > the
> > > samples? don't we already have bit?
> > > > [12:39] <jsdelfino> I think we could keep the mvn build, but
> document
> > > the ant one
> > > > [12:40] <slaws> if we have two we need to decide whether we maintain
> > two
> > > or just fix up ant for releases
> > > > [12:40] <ant_> ok. i guess we just need to make sure the sample
> mvn's
> > > work in the build distro with an empty local repo
> > > > [12:41] <ant_> would anyone like to volunteer to create an Ant
> script
> > > for one of the samples?
> > > > [12:42] <jsdelfino> anyone? it shouldn't be too hard, we even had
> this
> > > in M1...
> > > > [12:42] <slaws> didn't someone already create some for a previous
> > > release that we can lift
> > > > [12:42] <halehM> Maybe someone on the mailing  list who is not on
> the
> > > IRC?
> > > > [12:42] <halehM> post on mailing list?
> > > > [12:43] <ant_> ok, lets skip that one for now then
> > >
> > > I did some work on this for M2 but nothing was included in the
> > > release because of disagreements about some aspects of my proposal.
> > > The two main issues were how webapps get built and how dependencies
> > > are resolved.  I'll look at this again based on the currently proposed
> > > release packaging.
> > >
> > >    Simon
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >
> > > Hi Simon, I checked a version of the calculator build.xml into the
> trunk
> > and have been discussing some of the dependency issues here (
> > http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg17320.html)
> >
> > Simon
> >
>
> Just fyi, i've tried this calculator Ant build and it seems to work fine
> for
> me.
>
>    ...ant
>
OK, thanks for trying that. I'll make some more.

Simon

Re: ant build scripts for SCA samples

Posted by Simon Nash <na...@hursley.ibm.com>.
I have resolved the problems I was having with tuscany-sca-manifest.jar.
It turns out that the strange manifest formatting that I thought was a bug
is actually correct (line truncation/continuation at 70 characters).

   Simon

Simon Nash wrote:
> 
> Simon Laws wrote:
> 
>> Simon, I have some strange things going on with my distribution build
>>
>> which is affecting the way the manifests are build. Am investigating this
>> now but have to drop off the network til the morning.
>>
>> Also, are you also building ant scripts also? I'm going to try and make a
>> few more so let me know which ones you are doing if you are doing some.
>>
>  >
> In the ant scripts I made for M2, I used a slightly different pattern
> for the "compile" step that eliminates the two <copy> steps that you
> are using.  This pattern uses <fileset> and <metainf> elements within
> the <jar> task.  I have tested this pattern within your script and it
> works fine.  I suggest that you use this pattern in the new scripts
> that you are making.  Here's an example of this pattern:
> 
>     <target name="compile" depends="init">
>         <javac srcdir="src/main/java"
>                destdir="target/classes"
>                debug="on"
>                source="1.5"
>                target="1.5">
>             <classpath>
>                 <pathelement 
> location="../../lib/tuscany-sca-all-1.0-incubating-SNAPSHOT.jar"/>
>                 <pathelement 
> location="../../lib/sca-api-1.0-incubating-SNAPSHOT.jar"/>
>             </classpath>
>         </javac>
>         <jar destfile="target/sample-calculator.jar" 
> basedir="target/classes">
>             <fileset dir="src/main/resources"/>
>             <metainf dir='.' includes="LICENSE.txt,NOTICE.txt"/>
>             <manifest>
>                 <attribute name="Main-Class" 
> value="calculator.CalculatorClient"/>
>             </manifest>
>         </jar>
>     </target>
> 
> Note the different <classpath> from the one that you used.  I could not
> get tuscany-sca-manifest.jar to work for me either at compile time or
> at runtime.  I may have been doing something wrong, but I'm not sure what.
> 
> For the <run> target, because of my problems with tuscany-sca-manifest.jar,
> I needed to use the following:
> 
>     <target name="run" depends="compile">
>         <java classname="calculator.CalculatorClient"
>               fork="true">
>             <classpath>
>                 <pathelement location="target/sample-calculator.jar"/>
>                 <pathelement 
> location="../../lib/tuscany-sca-all-1.0-incubating-SNAPSHOT.jar"/>
>                 <pathelement 
> location="../../lib/sca-api-1.0-incubating-SNAPSHOT.jar"/>
>                 <pathelement location="../../lib/axiom-impl-1.2.4.jar"/>
>                 <pathelement location="../../lib/jetty-util-6.1.0.jar"/>
>                 <pathelement location="../../lib/commons-logging-1.1.jar"/>
>                 <pathelement 
> location="../../lib/sdo-api-r2.1-1.0-incubating-SNAPSHOT.jar"/>
>                 <pathelement location="../../lib/jaxb-api-2.0.jar"/>
>                 <pathelement location="../../lib/XmlSchema-1.3.1.jar"/>
>                 <pathelement location="../../lib/jetty-6.1.0.jar"/>
>                 <pathelement location="../../lib/catalina-6.0.10.jar"/>
>                 <pathelement location="../../lib/wsdl4j-1.6.2.jar"/>
>                 <pathelement location="../../lib/stax-api-1.0.1.jar"/>
>                 <pathelement location="../../lib/axis2-kernel-1.2.jar"/>
>                 <pathelement location="../../lib/wstx-asl-3.2.0.jar"/>
>                 <pathelement location="../../lib/servlet-api-2.5.jar"/>
>                 <pathelement location="../../lib/coyote-6.0.10.jar"/>
>                 <pathelement location="../../lib/juli-6.0.10.jar"/>
>                 <pathelement location="../../lib/axiom-api-1.2.4.jar"/>
>             </classpath>
>         </java>
>     </target>
> 
> I'd like to resolve the problems with tuscany-sca-manifest.jar before
> I make any more of these.  The above code doesn't feel good to me.
> 
>   Simon
> 


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


Re: ant build scripts for SCA samples

Posted by Simon Nash <na...@hursley.ibm.com>.
Simon Laws wrote:
> Simon, I have some strange things going on with my distribution build
> 
> which is affecting the way the manifests are build. Am investigating this
> now but have to drop off the network til the morning.
> 
> Also, are you also building ant scripts also? I'm going to try and make a
> few more so let me know which ones you are doing if you are doing some.
> 
 >
In the ant scripts I made for M2, I used a slightly different pattern
for the "compile" step that eliminates the two <copy> steps that you
are using.  This pattern uses <fileset> and <metainf> elements within
the <jar> task.  I have tested this pattern within your script and it
works fine.  I suggest that you use this pattern in the new scripts
that you are making.  Here's an example of this pattern:

     <target name="compile" depends="init">
         <javac srcdir="src/main/java"
                destdir="target/classes"
                debug="on"
                source="1.5"
                target="1.5">
             <classpath>
                 <pathelement location="../../lib/tuscany-sca-all-1.0-incubating-SNAPSHOT.jar"/>
                 <pathelement location="../../lib/sca-api-1.0-incubating-SNAPSHOT.jar"/>
             </classpath>
         </javac>
         <jar destfile="target/sample-calculator.jar" basedir="target/classes">
             <fileset dir="src/main/resources"/>
             <metainf dir='.' includes="LICENSE.txt,NOTICE.txt"/>
             <manifest>
                 <attribute name="Main-Class" value="calculator.CalculatorClient"/>
             </manifest>
         </jar>
     </target>

Note the different <classpath> from the one that you used.  I could not
get tuscany-sca-manifest.jar to work for me either at compile time or
at runtime.  I may have been doing something wrong, but I'm not sure what.

For the <run> target, because of my problems with tuscany-sca-manifest.jar,
I needed to use the following:

     <target name="run" depends="compile">
         <java classname="calculator.CalculatorClient"
               fork="true">
             <classpath>
                 <pathelement location="target/sample-calculator.jar"/>
                 <pathelement location="../../lib/tuscany-sca-all-1.0-incubating-SNAPSHOT.jar"/>
                 <pathelement location="../../lib/sca-api-1.0-incubating-SNAPSHOT.jar"/>
                 <pathelement location="../../lib/axiom-impl-1.2.4.jar"/>
                 <pathelement location="../../lib/jetty-util-6.1.0.jar"/>
                 <pathelement location="../../lib/commons-logging-1.1.jar"/>
                 <pathelement location="../../lib/sdo-api-r2.1-1.0-incubating-SNAPSHOT.jar"/>
                 <pathelement location="../../lib/jaxb-api-2.0.jar"/>
                 <pathelement location="../../lib/XmlSchema-1.3.1.jar"/>
                 <pathelement location="../../lib/jetty-6.1.0.jar"/>
                 <pathelement location="../../lib/catalina-6.0.10.jar"/>
                 <pathelement location="../../lib/wsdl4j-1.6.2.jar"/>
                 <pathelement location="../../lib/stax-api-1.0.1.jar"/>
                 <pathelement location="../../lib/axis2-kernel-1.2.jar"/>
                 <pathelement location="../../lib/wstx-asl-3.2.0.jar"/>
                 <pathelement location="../../lib/servlet-api-2.5.jar"/>
                 <pathelement location="../../lib/coyote-6.0.10.jar"/>
                 <pathelement location="../../lib/juli-6.0.10.jar"/>
                 <pathelement location="../../lib/axiom-api-1.2.4.jar"/>
             </classpath>
         </java>
     </target>

I'd like to resolve the problems with tuscany-sca-manifest.jar before
I make any more of these.  The above code doesn't feel good to me.

   Simon



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


Re: ant build scripts for SCA samples

Posted by Simon Laws <si...@googlemail.com>.
On 5/2/07, Simon Nash <na...@hursley.ibm.com> wrote:
>
> I can build the sample OK using this ant script, but "ant run" doesn't
> work.
> I'm using the pre-built distribution that Ant posted to
>    http://people.apache.org/~antelder/tuscany/latest/
>
> The problem is with the very long Class-Path attribute in MANIFEST.MF
> of tuscany-sca-manifest.jar.  In Ant's pre-built distribution, this line
> is chopped up into small fixed-size chunks, producing the following error:
>
>   E:\tuscanybin1\tuscany-sca-1.0-incubating-SNAPSHOT\samples\calculator>ant
> run
>   Buildfile: build.xml
>
>   init:
>
>   compile:
>
>   run:
>        [java] Failed to load Main-Class manifest attribute from
>        [java] E:\tuscanybin1\tuscany-
> sca-1.0-incubating-SNAPSHOT\lib\tuscany-sca-manifest.jar
>        [java] Java Result: 1
>
> I tried editing the MANIFEST.MF file to put all the Class-Path information
> in a single line of 3861 characters.  This produced the following error:
>
>   E:\tuscanybin1\tuscany-sca-1.0-incubating-SNAPSHOT\samples\calculator>ant
> run
>   Buildfile: build.xml
>
>   init:
>
>   compile:
>
>   run:
>        [java] java.io.IOException: line too long
>        [java]     at java.util.jar.Attributes.read(Attributes.java:362)
>        [java]     at java.util.jar.Manifest.read(Manifest.java:167)
>        [java]     at java.util.jar.Manifest.<init>(Manifest.java:52)
>        [java]     at java.util.jar.JarFile.getManifestFromReference(
> JarFile.java:158)
>        [java]     at java.util.jar.JarFile.getManifest(JarFile.java:145)
>        [java] Exception in thread "main"
>        [java] Java Result: 1
>
>    Simon
>
> ant elder wrote:
>
> > On 5/2/07, Simon Laws <si...@googlemail.com> wrote:
> >
> >>
> >> On 5/2/07, Simon Nash <na...@hursley.ibm.com> wrote:
> >> >
> >> > I saw the following discussion in Monday's IRC chat log.  (I couldn't
> >> > attend the chat because I was on a plane.)
> >> >
> >> > > [12:37] <ant_> oh, so with the samples again, I guess we need Ant
> >> build
> >> > scripts
> >> > > [12:37] <ant_> lresende, it does right now and i think thats good
> to
> >> do
> >> > > [12:38] <jsdelfino> yes, +1 for the sample bins
> >> > > [12:38] <lresende> yes, i like that, but haven't looked into your
> >> distro
> >> > strawman yet
> >> > > [12:38] <slaws> ant_  - a non maven build solution for samples
> would
> >> be
> >> > useful
> >> > > [12:38] <ant_> do we want mvn as well or just Ant?
> >> > > [12:39] <jsdelfino> what's the work required to have a mvn build
> for
> >> the
> >> > samples? don't we already have bit?
> >> > > [12:39] <jsdelfino> I think we could keep the mvn build, but
> document
> >> > the ant one
> >> > > [12:40] <slaws> if we have two we need to decide whether we
> maintain
> >> two
> >> > or just fix up ant for releases
> >> > > [12:40] <ant_> ok. i guess we just need to make sure the sample
> mvn's
> >> > work in the build distro with an empty local repo
> >> > > [12:41] <ant_> would anyone like to volunteer to create an Ant
> script
> >> > for one of the samples?
> >> > > [12:42] <jsdelfino> anyone? it shouldn't be too hard, we even had
> >> this
> >> > in M1...
> >> > > [12:42] <slaws> didn't someone already create some for a previous
> >> > release that we can lift
> >> > > [12:42] <halehM> Maybe someone on the mailing  list who is not on
> the
> >> > IRC?
> >> > > [12:42] <halehM> post on mailing list?
> >> > > [12:43] <ant_> ok, lets skip that one for now then
> >> >
> >> > I did some work on this for M2 but nothing was included in the
> >> > release because of disagreements about some aspects of my proposal.
> >> > The two main issues were how webapps get built and how dependencies
> >> > are resolved.  I'll look at this again based on the currently
> proposed
> >> > release packaging.
> >> >
> >> >    Simon
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> >> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >> >
> >> > Hi Simon, I checked a version of the calculator build.xml into the
> >> trunk
> >> and have been discussing some of the dependency issues here (
> >> http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg17320.html)
> >>
> >> Simon
> >>
> >
> > Just fyi, i've tried this calculator Ant build and it seems to work fine
> > for
> > me.
> >
> >   ...ant
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
> Simon, I have some strange things going on with my distribution build
which is affecting the way the manifests are build. Am investigating this
now but have to drop off the network til the morning.

Also, are you also building ant scripts also? I'm going to try and make a
few more so let me know which ones you are doing if you are doing some.

Simon

Re: ant build scripts for SCA samples

Posted by Simon Nash <na...@hursley.ibm.com>.
I can build the sample OK using this ant script, but "ant run" doesn't work.
I'm using the pre-built distribution that Ant posted to
   http://people.apache.org/~antelder/tuscany/latest/

The problem is with the very long Class-Path attribute in MANIFEST.MF
of tuscany-sca-manifest.jar.  In Ant's pre-built distribution, this line
is chopped up into small fixed-size chunks, producing the following error:

  E:\tuscanybin1\tuscany-sca-1.0-incubating-SNAPSHOT\samples\calculator>ant run
  Buildfile: build.xml

  init:

  compile:

  run:
       [java] Failed to load Main-Class manifest attribute from
       [java] E:\tuscanybin1\tuscany-sca-1.0-incubating-SNAPSHOT\lib\tuscany-sca-manifest.jar
       [java] Java Result: 1

I tried editing the MANIFEST.MF file to put all the Class-Path information
in a single line of 3861 characters.  This produced the following error:

  E:\tuscanybin1\tuscany-sca-1.0-incubating-SNAPSHOT\samples\calculator>ant run
  Buildfile: build.xml

  init:

  compile:

  run:
       [java] java.io.IOException: line too long
       [java]     at java.util.jar.Attributes.read(Attributes.java:362)
       [java]     at java.util.jar.Manifest.read(Manifest.java:167)
       [java]     at java.util.jar.Manifest.<init>(Manifest.java:52)
       [java]     at java.util.jar.JarFile.getManifestFromReference(JarFile.java:158)
       [java]     at java.util.jar.JarFile.getManifest(JarFile.java:145)
       [java] Exception in thread "main"
       [java] Java Result: 1

   Simon

ant elder wrote:

> On 5/2/07, Simon Laws <si...@googlemail.com> wrote:
> 
>>
>> On 5/2/07, Simon Nash <na...@hursley.ibm.com> wrote:
>> >
>> > I saw the following discussion in Monday's IRC chat log.  (I couldn't
>> > attend the chat because I was on a plane.)
>> >
>> > > [12:37] <ant_> oh, so with the samples again, I guess we need Ant
>> build
>> > scripts
>> > > [12:37] <ant_> lresende, it does right now and i think thats good to
>> do
>> > > [12:38] <jsdelfino> yes, +1 for the sample bins
>> > > [12:38] <lresende> yes, i like that, but haven't looked into your
>> distro
>> > strawman yet
>> > > [12:38] <slaws> ant_  - a non maven build solution for samples would
>> be
>> > useful
>> > > [12:38] <ant_> do we want mvn as well or just Ant?
>> > > [12:39] <jsdelfino> what's the work required to have a mvn build for
>> the
>> > samples? don't we already have bit?
>> > > [12:39] <jsdelfino> I think we could keep the mvn build, but document
>> > the ant one
>> > > [12:40] <slaws> if we have two we need to decide whether we maintain
>> two
>> > or just fix up ant for releases
>> > > [12:40] <ant_> ok. i guess we just need to make sure the sample mvn's
>> > work in the build distro with an empty local repo
>> > > [12:41] <ant_> would anyone like to volunteer to create an Ant script
>> > for one of the samples?
>> > > [12:42] <jsdelfino> anyone? it shouldn't be too hard, we even had 
>> this
>> > in M1...
>> > > [12:42] <slaws> didn't someone already create some for a previous
>> > release that we can lift
>> > > [12:42] <halehM> Maybe someone on the mailing  list who is not on the
>> > IRC?
>> > > [12:42] <halehM> post on mailing list?
>> > > [12:43] <ant_> ok, lets skip that one for now then
>> >
>> > I did some work on this for M2 but nothing was included in the
>> > release because of disagreements about some aspects of my proposal.
>> > The two main issues were how webapps get built and how dependencies
>> > are resolved.  I'll look at this again based on the currently proposed
>> > release packaging.
>> >
>> >    Simon
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>> >
>> > Hi Simon, I checked a version of the calculator build.xml into the 
>> trunk
>> and have been discussing some of the dependency issues here (
>> http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg17320.html)
>>
>> Simon
>>
> 
> Just fyi, i've tried this calculator Ant build and it seems to work fine 
> for
> me.
> 
>   ...ant
> 



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


Re: ant build scripts for SCA samples

Posted by ant elder <an...@gmail.com>.
On 5/2/07, Simon Laws <si...@googlemail.com> wrote:
>
> On 5/2/07, Simon Nash <na...@hursley.ibm.com> wrote:
> >
> > I saw the following discussion in Monday's IRC chat log.  (I couldn't
> > attend the chat because I was on a plane.)
> >
> > > [12:37] <ant_> oh, so with the samples again, I guess we need Ant
> build
> > scripts
> > > [12:37] <ant_> lresende, it does right now and i think thats good to
> do
> > > [12:38] <jsdelfino> yes, +1 for the sample bins
> > > [12:38] <lresende> yes, i like that, but haven't looked into your
> distro
> > strawman yet
> > > [12:38] <slaws> ant_  - a non maven build solution for samples would
> be
> > useful
> > > [12:38] <ant_> do we want mvn as well or just Ant?
> > > [12:39] <jsdelfino> what's the work required to have a mvn build for
> the
> > samples? don't we already have bit?
> > > [12:39] <jsdelfino> I think we could keep the mvn build, but document
> > the ant one
> > > [12:40] <slaws> if we have two we need to decide whether we maintain
> two
> > or just fix up ant for releases
> > > [12:40] <ant_> ok. i guess we just need to make sure the sample mvn's
> > work in the build distro with an empty local repo
> > > [12:41] <ant_> would anyone like to volunteer to create an Ant script
> > for one of the samples?
> > > [12:42] <jsdelfino> anyone? it shouldn't be too hard, we even had this
> > in M1...
> > > [12:42] <slaws> didn't someone already create some for a previous
> > release that we can lift
> > > [12:42] <halehM> Maybe someone on the mailing  list who is not on the
> > IRC?
> > > [12:42] <halehM> post on mailing list?
> > > [12:43] <ant_> ok, lets skip that one for now then
> >
> > I did some work on this for M2 but nothing was included in the
> > release because of disagreements about some aspects of my proposal.
> > The two main issues were how webapps get built and how dependencies
> > are resolved.  I'll look at this again based on the currently proposed
> > release packaging.
> >
> >    Simon
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> > Hi Simon, I checked a version of the calculator build.xml into the trunk
> and have been discussing some of the dependency issues here (
> http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg17320.html)
>
> Simon
>

Just fyi, i've tried this calculator Ant build and it seems to work fine for
me.

   ...ant

Re: ant build scripts for SCA samples

Posted by Simon Laws <si...@googlemail.com>.
On 5/2/07, Simon Nash <na...@hursley.ibm.com> wrote:
>
> I saw the following discussion in Monday's IRC chat log.  (I couldn't
> attend the chat because I was on a plane.)
>
> > [12:37] <ant_> oh, so with the samples again, I guess we need Ant build
> scripts
> > [12:37] <ant_> lresende, it does right now and i think thats good to do
> > [12:38] <jsdelfino> yes, +1 for the sample bins
> > [12:38] <lresende> yes, i like that, but haven't looked into your distro
> strawman yet
> > [12:38] <slaws> ant_  - a non maven build solution for samples would be
> useful
> > [12:38] <ant_> do we want mvn as well or just Ant?
> > [12:39] <jsdelfino> what's the work required to have a mvn build for the
> samples? don't we already have bit?
> > [12:39] <jsdelfino> I think we could keep the mvn build, but document
> the ant one
> > [12:40] <slaws> if we have two we need to decide whether we maintain two
> or just fix up ant for releases
> > [12:40] <ant_> ok. i guess we just need to make sure the sample mvn's
> work in the build distro with an empty local repo
> > [12:41] <ant_> would anyone like to volunteer to create an Ant script
> for one of the samples?
> > [12:42] <jsdelfino> anyone? it shouldn't be too hard, we even had this
> in M1...
> > [12:42] <slaws> didn't someone already create some for a previous
> release that we can lift
> > [12:42] <halehM> Maybe someone on the mailing  list who is not on the
> IRC?
> > [12:42] <halehM> post on mailing list?
> > [12:43] <ant_> ok, lets skip that one for now then
>
> I did some work on this for M2 but nothing was included in the
> release because of disagreements about some aspects of my proposal.
> The two main issues were how webapps get built and how dependencies
> are resolved.  I'll look at this again based on the currently proposed
> release packaging.
>
>    Simon
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
> Hi Simon, I checked a version of the calculator build.xml into the trunk
and have been discussing some of the dependency issues here (
http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg17320.html)

Simon