From 94ca91dd5f404015bdfa94e373ed94c284761a1d Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Fri, 13 Dec 2013 22:23:54 -0800 Subject: Prepare maven-based distribution building. NOTE: `maven/latest/build.xml` is now deprecated. To publish a Scala build, simply call `ant publish` or `ant publish-local`. `maven/latest/build.xml` will soon disappear from `dists/` The idea is that a Scala distribution is a simple repackaging of artifacts already available on maven. Already available: typical jars for the artifacts (classes, sources, scaladoc). To add: the bin/, doc/, and man/ directories. Thus, move the contents that should end up in the distribution from docs/ to doc/, create the man/ directory with the manpages, and include the scripts in bin/. Next up: package these directories in a jar and publish to maven, with a dependency on scala-library-all, scala-reflect and scala-compiler, for the jars that should end up in the distribution. Refactorings: - Pull filter-pom out from deploy-one. - Rename maven-base to dist.maven. - Set all properties in the init target (dist.maven) --- build-ant-macros.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'build-ant-macros.xml') diff --git a/build-ant-macros.xml b/build-ant-macros.xml index 593f93b784..0b92f1dab1 100644 --- a/build-ant-macros.xml +++ b/build-ant-macros.xml @@ -1,5 +1,5 @@ - + Macros for Scala's ant build @@ -451,8 +451,8 @@ - - + + @@ -469,7 +469,8 @@ - + + -- cgit v1.2.3