You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jeremy Boynes <jb...@apache.org> on 2006/08/17 19:14:18 UTC

Re: svn commit: r432297 - in /incubator/tuscany/java/distribution/das-samples: ./ LICENSE.txt NOTICE.txt pom.xml src/ src/main/ src/main/assembly/ src/main/assembly/das-samples.xml

On Aug 17, 2006, at 10:01 AM, kwilliams@apache.org wrote:
> +	<!-- include companyweb source -->
> +       <fileSet>
> +         <directory>../../samples/das/companyweb/src</directory>
> +         <lineEnding>keep</lineEnding>
> +         <includes>
> +            <include>**/*.java</include>
> +            <include>**/*.xml</include>
> +         </includes>
> +         <fileMode>644</fileMode>
> +       </fileSet>

Although it works, references outside the project like this are  
generally problematic.

I would suggest an alternative would be to have the companyweb module  
output a source jar as its artifact rather than the usual binary jar  
- after all for a sample it is the source that is interesting to  
users. You could then reference it as a dependency and have that  
exploded into the distribution.

--
Jeremy


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


Re: svn commit: r432297 - in /incubator/tuscany/java/distribution/das-samples: ./ LICENSE.txt NOTICE.txt pom.xml src/ src/main/ src/main/assembly/ src/main/assembly/das-samples.xml

Posted by Luciano Resende <lu...@gmail.com>.
Hi Jeremy

   Would it be better to have the output of this be the companyweb war file
with the sources, this way a user would be able to deploy the sample app +
see the sample source code and investigate what's going on on the sample app
?

- Luciano

On 8/17/06, Jeremy Boynes <jb...@apache.org> wrote:
>
> On Aug 17, 2006, at 10:01 AM, kwilliams@apache.org wrote:
> > +     <!-- include companyweb source -->
> > +       <fileSet>
> > +         <directory>../../samples/das/companyweb/src</directory>
> > +         <lineEnding>keep</lineEnding>
> > +         <includes>
> > +            <include>**/*.java</include>
> > +            <include>**/*.xml</include>
> > +         </includes>
> > +         <fileMode>644</fileMode>
> > +       </fileSet>
>
> Although it works, references outside the project like this are
> generally problematic.
>
> I would suggest an alternative would be to have the companyweb module
> output a source jar as its artifact rather than the usual binary jar
> - after all for a sample it is the source that is interesting to
> users. You could then reference it as a dependency and have that
> exploded into the distribution.
>
> --
> Jeremy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>


-- 
-----------------------------------------------------
Luciano Resende
SOA Opensource - Apache Tuscany
-----------------------------------------------------