Yes, we need to have at least the "target/modules" which contains the
bundles that can be used by the samples. What if I move the time-consuming
assembly part out of the default profile? Producing target/modules for the
"all" distro only takes less than one minute. It should be OK to have it in
the default build.
Thanks,
Raymond
--------------------------------------------------
From: "Luciano Resende" <[email protected]>
Sent: Thursday, January 29, 2009 9:28 AM
To: <[email protected]>; <[email protected]>
Subject: Re: Building only the all distribution archives
My understanding is that the distribution would build the 3rd party
bundles, so we do need some when running in OSGI/PDE mode.
On Thu, Jan 29, 2009 at 9:25 AM, ant elder <[email protected]> wrote:
Could we have like before so when running from the top of the build tree
"mvn" doesn't build any distribution and "mvn -Pdistribution" builds the
one
distribution. Do we really need anything else for now if we're only
having
one distribution?
...ant
On Thu, Jan 29, 2009 at 5:16 PM, Raymond Feng <[email protected]>
wrote:
"mvn" will build the "all" distro only. I can also move the assembly of
archive part into a different profile such as "release". This way, it
will
only generate the artifacts in the "target" folder.
"mvn -Pdistribution" will build all distros with dir, zip and gz.
Thanks,
Raymond
From: ant elder
Sent: Thursday, January 29, 2009 8:49 AM
To: [email protected]
Subject: Re: Building only the all distribution archives
Can you say a bit more about that, why wouldn't "mvn -Pdistribution"
just
build the one all distribution?
...ant
On Thu, Jan 29, 2009 at 4:46 PM, Raymond Feng <[email protected]>
wrote:
I'll go ahead to change the pom.xml to make other distros not to be
activated by default. We can still run "mvn -Pdistribution" to activate
them.
Thanks,
Raymond
From: ant elder
Sent: Thursday, January 29, 2009 5:23 AM
To: [email protected]
Subject: Building only the all distribution archives
As we've agreed to only have a single all distribution for now how
about
we stop building the actual distribution archives for the others?
Currently
it produces about twenty zips and tars that we don't need and that
takes
quite a long time on my machine and is only going to get slower as we
add
things. Commenting out the assembly builds for these reduces the
distribution build from about 6 minutes to just over 2 for me.
...ant
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/