| /[Apache-SVN]/james/server/trunk/phoenix-deployment-refactor/build.xml |
Parent Directory
|
Revision Log
| Links to HEAD: | (view) (annotate) |
| Sticky Revision: |
An ongoing effort to handle the ant+m2 build for the avalon/phoenix deployment. This reuse the ant build infrastructure as much as possible and have m2 descriptor to create the same artifacts using maven. The current status is that both builds create the sar file. Some more work is required to build the other distributions. Temporarily removed from the main pom.xml and renamed to a "-refactor" suffix so that it will be ignored by current builds.
Updated ant build for sar-deployment to correctly include LICENSE/NOTICE and phoenix descriptors/confs. Updated m2 build to build the sar too (it builds a zip because of a limitation in the assembly plugin).
replace the right sar-deployment module
trying to fix some bad commit
trying to revert the previous commit
Updated ant build to generate both jar and sar files for avalon containers.
Our ant build calls "everything" target instead of "dist" for deployments.
sar-deployment is intended to only generate the james.sar file, so - there's no need to have phoenix-bin included - we can try to use the common deployment build mechanism.
phoenix-deployment => sar-deployment (just to not have failures in CI while I work out the refactoring)
preparing sar deployment module
Prepare structure for 3 new modules: core-api management-library core-function
Phoenix-deployment uses its own ant build mechanism. Updating to support util modules.
Update ant-based build to make use of mailet's (base+standard) tests jar in the test classpath. Updated mailet version dependency from 3.0-SNAPSHOT to 2.4-SNAPSHOT (5th attempt.. phoenix-deployment declare its own dependencies..)
Fix test classpath for the last change to MBoxRepository test.
When there are test failures, don't just ignore them.
Make sure we run unit tests on default target (everything). Changed to not halt-on-error by default: want to see all of the failures.
Back out backport usage and opt for the traditionally way.
Classic case for AtomicLong
Moved org.apache.james.util.mailet into mailet-base
Moved mailets into standard-mailets. Unfortunately, some existing mailets are coupled to abstract superclasses which were moved. Perhaps these could be moved into mailets-base then standard-mailets could become a deployment dependency only.
Fixed hard dependency on bouncy castle in deployment
improve XML formatting for the eclipse tasks
Project and classpath generation code for Eclipse.
fixing phoenix deployment, by adding james-jms.xml to the right places but disabling it properly at the same time
Added JCR to deployment
Base JMS integration using ActiveMQ. When the JMS service is enabled, JAMES will run a JMS server and will allow clients to connect to it. Outline implementation for review.
Fix source distribution
Added Mime4J SNAPSHOT for use in IMAP.
Big dependencies update. Updated dnsjava to 2.0.5 (JAMES-816) Updated all of the cornerstone libraries to 2.2.2 (JAMES-798) Updated torque to 3.3RC2 Updated javamail 1.4.1ea to a newer build (related to JAMES-693) Updated maven2 poms introducing the dependencyManagement stuff in the root pom, so to have dependencies versions in a single place. Updated license file to reflect changed paths (part of JAMES-797)
Include all modules in javadocs
Build test jars. To allow test frameworks to be used against deployed components.
fixing the build
Fix ant build (xdocs are no more in the phoenix-deployment module)
Fix ant build (xdocs are no more in the phoenix-deployment module)
Altered fordo/subant task to search for module/build.xml instead of module (so empty modules will work fine anyway) Added workarounds to build the mailet (library) module after the api-modules but before the libraries and still include api-modules in its build. Created pop3server, smtpserver, imapserver, nntpserver, spoolmanager, fetchmail function modules. Moved most remaining source code to a core-library module (temporary solution). Moved handling of Constants.java "properties-merging" to core-library/build.xml
Created api-module "mailet-api" and moved sources there.
Commented some part of phoenix-deployment build.xml to skip mailet javadocs generation and source copying for sdk.
Added stage/org.apache.james/{jars-prefix}*-(api|library|function).jar to the classpath and to the generated sar in build.xml for phoenix-deployment.
Applied the just added ${junit.jar} variable to phoenix-deployment/build.xml
Made james.sar/SAR-INF/lib folder "flat" (JAMES-779)
Modify the build to compile and run with junit from local classpath (new Ant 1.7.0 feature). Add junit.jar binary (approved on 3rd party license list to local set of libraries.
removed tabs and trailing whitespace. no other changes
preserve bin/ and src/ directories when moving to the master dist/ directory
Update master distribution directory with result of phoenix distribution build.
Corrected speiling. Thanks to Noel 8-)
Moved libraries from deployment module into a first level directory called stage. Not sure that this is the right name but should be easy enough to change after discussion. As requested, maven standard layout adopted for this directory. Tried to preserve the current phoenix build as far as possible.
Top level build for modules.
Moving source into new position (subversion does not allow source to be moved directly onto itself). Modularisation of JAMES server: Stage One, Phase One. See http://wiki.apache.org/james/Development/Modularisation.
Moving source away (subversion does not allow source to be moved directly onto itself). Modularisation of JAMES server: Stage One, Phase One. See http://wiki.apache.org/james/Development/Modularisation.
First cut at generating more content for the MailetSDK distribution. Added a coupled of sample mailets into src/test. https://issues.apache.org/jira/browse/JAMES-575. Contributed by yours truly.
initial commit for JAMES-761, only partial working
suppress javadoc warnings for phoenix tags phoenix:mx-topic, phoenix:mx-operation, phoenix:mx-description, phoenix:mx-attribute, phoenix:mx-isWriteable
fix javadocs (JAMES-733)
Introducing MailboxManagerFactory and VirtualMailboxManager introducing MailstoreMailboxManager to access legacy MailRepositories merged revions 471673:481814 from https://svn.apache.org/repos/asf/james/server/sandbox/
Add support for a single unit test via run-unit-test -Dtest=<testname>.
A distribution build should be run on a clean directory structure, and unit testing should be enforced.
Previous commit create a non-working james because sometime the jar name was hardcoded in build.xml. Fixed it to use the property file always (JAMES-595)
Changed names of release artifacts to use james-server instead of james (JAMES-595) Use "next-major" as version identifier until we wait to branch. Use "2.4" as mailet version (minor changes over the released 2.3 mailet api (part of james 2.3.0 release)
Upgraded jmock to 1.1.0 final
add processor, mailet and matcher management (JAMES-635)
merging imap-integration branch
Fix www folder creation. See JAMES-630
Removed unused/bad classpath inclusions for tests (we don't bundle ant anymore, optional and junit must be places in ANT_HOME/lib folder)
Add methods to add ham/spam via mboxfile to BayesianAnalyzerManagement and RemoteManager. See JAMES-590
Add UPGRADE.txt to build script
Move the handlerchain configuration to a an extra xml file. See JAMES-496
1. run-unit-tests now halts on error 2. Legal licensing issues (JAMES-579) a. Created a README.txt including crypto notice b. added required sentences (by 3rd party licenses) to NOTICE.txt c. added 3rd party LICENSEs links to LICENSE.txt d. Included README/NOTICE/LICENSE txt files in binary/sources redistributable packages (rel JAMES-582)
Fix run-unit-tests task dependencies. It didn't work if ran without a prior compile.
First attempt to fix release packages (JAMES-582) Include everything needed to build in source packages Include phoenix in james with phoenix Src (without phoenix) package can now build james.sar.
Removed jdbc3 checks. We now can rely on jdbc3 presence (java 2 1.4)
Updated license header in java files, added asl2 header to xdoc, pom, build files. Updated NOTICE to include references to all of the distributed libraries (JAMES-579)
Add new jSPF snapshot to support loggin via avalon Remove not longer needed log4j jar
Add support for commons daemon. See JAMES-500
Add SPF support. See JAMES-481 Add new State map wich can be used to store object which should be valid till the whole connection
Remove RepositoryManager and cornerstone-store-impl. Thx Stefano. See JAMES-515
Remove ant and its dependencies. Cleaned up build.xml. Fixed build.xml for SMIME mailets (JAMES-506)
Fix newline problems, re-added check for xdocs newlines in build.xml, added svn:eol-style to ToProcessor
When building with JDK 5, be sure to set the target platform for compatibility.
copy sendmail.py to the bin directory. See JAMES-501
Remove ristretto.jar from ant tasks (JAMES-498) (Removed all dependencies from ristretto)
Fix newlines in test classes, added a fixcrlf for test folder to the build.xml, added svn:eol-style native to the test files.
JAF 1.1 available. Manually downloaded from maven-repository.dev.java.net
Update source and build files for JavaMail 1.4.0
fix to ant for unit-tests and new dnsserver tests. (reported by Bernd)
Fixed problematic schema validation for ssl socket factory (JAMES-458)
Updated dnsjava to 2.0.1
Updated build.xml to include commons-net when running the run-unit-tests target (Thanks to Bernd)
Removed an NPE on getUserInbox for an unknown user: now we simply return null. Upgraded unit tests to 3.0, thanks to Bernd Fondermann again (JAMES-427).
Upgraded avalon phoenix to 4.2 and updated the build script according to new phoenix tasks (related to JAMES-406 and JAMES-418).
Updated cornerstone-datasource-impl to a patched version to support validating avalon containers (loom / phoenix trunk). See the bug report in EXLBR-30. (part of fix for JAMES-418)
Introduce Unit Testing (JAMES-427) Thanks to Bernd Fondermann. Running tests require junit and ristretto (not committed by now)
We don't need derbytools.jar in our package.
James-416
Forgot to add concurrent jar to the sar (used by cornerstone-datasources)
Removed OLD mm.mysql driver (not compatible with newer MySQL db) (JAMES-394)
Upgrade to Javamail 1.3.3 (JAMES-416).
Updated excalibur libraries to final releases (part of JAMES-406)
Updated phoenix and james to the latest avalon-framework (4.3RC2), updated all of the cornerstone/excalibur libraries and removed deprecated ones (excalibur-io - JAMES-408). Also removed xml handling libraries (JAMES-409 - included from jdk1.4+ no more used now that we don't need jdk1.3) (this is a part of the JAMES-406 task)
Upgraded Bouncycastle to 129 and java 1.4+ only (no more java 1.3 compatible) (JAMES-399) Added SMIME mailets for signature verification and message decrypt (JAMES-398 / JAMES-257) Removed bc jce provider from the repository: to use SMIME the user will need to download bcprov from the bouncycastle website
Upgrade to dnsjava 2.0.0 (JAMES-388) Add derby support (JAMES-390) Invert "precompilation" logic for jdbc3 (JAMES-389) Move "candidates" libraries to the official lib / remove unused libraries (JAMES-391) Also updated some old build.xml jar reference and removed unused rows from include.properties (e.g: xerces, commons-net)
Hope this helps to fix Gump, it might not. It might break every build instead. If so.. Flame me.
add missing config files to build package that were missed during the merge.
make merge_v2_and_trunk branch the new trunk
Use JavaMail 1.3.2
update oro library, and at least temporarily change dist-bin to not require xdocs or javadocs
update to match current version of dnsjava
comment out requirement to have xdocs directory so that we can try compiling. core web site xdocs should move out of code tree. some may stay, but we haven't merged that directory, yet.
copy build files from trunk
Was not managing the BouncyCastle jars.
Use release versions of Commons Pool and DBCP
Added support for MimeMultiPart/report and RFC 2298 Message Delivery Notifications (MDNs).
Include ASF 2.0 license and include it in source and binary distributions.
Fix for http://nagoya.apache.org/jira/secure/ViewIssue.jspa?key=JAMES-154 Updated build.xml to copy ../apps/conf/james-fetchmail.xml and ../apps/conf/samples/james/*.xml to the .sar.
PR: Obtained from: Submitted by:Steve Short Reviewed by:hilmer More information are made available through JMX. .mxinfo files are autogenerated by the build process. needed tools for mxinfo generation are added to tools/lib these jars obtained from Phoenix 4.0.3
Update to dnsjava 1.4.3, Commons DBCP 1.1 (requires Commons Pool v1.1)
Fix jar checks.
update dnsjava to v1.4.2
project.class.path just needs API jars. Commons Pool is v1.0.1 Excalibur Thread was updated by Stephen to v1.1.1. Mailet API is (tentatively) v3. JavaMail had been updated to v1.3.1.
Add extras for phoenix (needs to be tested).
Add missing commons-pool-1.0.
Update to latest cornerstone candidates (in lib/candidates) and added 1.0 version of commons dbcp to the lib directory.
(1) Fixed jar paths that caused james and mailet jars from not being included in the sar. (2) updated to refer to JavaMail 1.3.1. (3) Don't build anachronistic 'mailet.jar' file.
Added back support for conditionally building a proposal, based on the presense of the proposal.name property. PR: Obtained from: Submitted by: Reviewed by:
Updated build file to create seperate mailet api, mailet impl, and james jar under a "jar" target. These jars will be pulled into the Phoenix build automatically.
Fixed mailet javadoc external links to Avalon (of which there should actually be NONE as a matter of design principle) Grouped include.properties entries by location
Added include.properties inclusion.
Update to make classpath content explicit in the buildfile and jar location explicit in the properties file.
Fixes for Imap2 proposal with new Avalon stuff: * Modified main build so that proposal source can be optionally compiled. * Imap2 proposal now delegates build to main build.xml * Minor fixes for Serviceable.
Enable dependency checking.
Addition of autochecking of jars plus some property checking.
Updated mailet javadoc links to avalon (will need to be updated when corenerstone individual packages have their own javadoc distributions)
Replace broken links with some more broken links (jakart.apache.org/avalon --> avalon.apache.org).
CLeaning up the buildfile formatting, seperating property declarations into an external property file, and updating the phoniex-prepare task to include replacement of excalibur-thread-1.0 with excalibur-thread-1.1, replacement of excalibur-pool 1.0 with 1.2, and the introduction of the commons-collection-2.1 jar (required by the pool CR).
Updated build file in handle sar cleation.
generated docs
Serge Sozonoff's patches for updated dnsjava and auto-discovery
DNS Java library upgrade submitted by Serge Sozonoff
HEAD version now 3.0a1, incremented copyright date
upgrade javamail
Fixed bug in build.xml so that the default target now builds even if the Phoenix distribution is absent. Fixed build file so that all targets can be built without Phoenix distribution - warnings will be printed for the binaries and sources that cannot be built. Standardized LF Added fixcrlf task to normalize build.xml when changed
Updating product version to 2.1 Adding fixcrlf statements for the xdocs and the generated HTML. Fixing the source distributions so that they include required Phoenix files.
Upgrading Phoenix to Phoenix 4.0.1 Turning off deprecation warnings, because upgrading to Phoenix 4.0.1 brings the number of warnings to over 200.
Changed the build.xml to make phoenix.sh executable as part of the build.
Added LF conversion for phoenix.sh to the build.xml Changed the Phoenix directory variable from phoenix to phoenix.dir Couldn't find the CRLF problem for phoenix.sh, but I did remove several tabs.
now it actually runs...
Changing the build file to be in accord with Java 1.3/1.4 requirement. Removes a warning.
Fixing build bug that doubly references jar files.
Phoenix upgraded to 4.0 final
Making build changes to fix issues with james.sar.
rolling back bad changes
changed library locations so that mailet developers don't get CNFE. although I freely admit that only Mail and Mailet should be required...
Reorganizing build.xml. Removing unused variables, rearranging definitions. Still needs a little more work.
Removed tabs from build.xml
First JMX managable thing (addUser)
Updated to latest Phoenix
changed xdocs target to use XSL instead of Anakia, removed anakia task
reversing last commit, it was broken
fixed non-building documents..
added mm.mysql dirver and licence to copy list for sar task and -link attribute for javadocs
added chmod, cr/lf conversion, and usage messages
added cvs to the version number
changed a lot in response to the addition of phoenix-bin New targets include everything, website, dist-all New distros include src without phoenix, and MailetSDK (binary plus mailet src and javadocs)
Added explanation on velocity.jar not being present about what page to go read to setup your local machine on how to generate xdocs.
Part 2 of 3 of Phoenix upgrade
Changed to build JDBC3 (JDK 1.4) support if it available. Otherwise will build cleanly in JDK 1.3
src-dist was building tar.gz from binary not source tar. Ooops!
increment version number to 2.0a3-cvs
merge of changes made in branch v2-0a2candidate1
- Library upgrade
- Upgraded Avalon,Pheonix and Cornerstone libraries to more recent versions.
- Removed deprecated usage of o.a.a.phoenix.Service from
MailServer and UsersStore interfaces.
- Changed o.a.j.BaseConnectionHandler to use new Logging framework, so
that it can work with new version of Cornerstone. Also needed slight mods
to extensions to BaseConnectionHandler (NNTPHandler, AbstractJdbcUsersRepository,
UsersLDAPRepository)
- Now get heaps of deprecation warnings for usage of o.a.log.Loggable
- Source tree is no longer copied to build/src before compiling,
source files are compiled directly from src/java
Use new version of xerces, and change JAMES version.
Have james.bar not include mailet classes (because they will appear in the mailet.jar)
Upgrade to ant 1.4. replaced deprecated fixCRLF attribute cr with new attribute eol There may be unresoved issues with altered zip methods
moved dist destination of sqlResources.xml to dist/apps/james/conf/ to matc changes made elsewhere
Moved dist copy destination of Mysql-2.0.4.jar from dist/apps/james/lib to dist/lib
Added line copy sqlResources.xml to the dist/conf directory.
Moved chmod and fixcrlf to end of dist-lite task so if/when it fails, it's copied conf files and done everything else necessary in dist-lite.
Set version for upcoming release
Updated to Latest Phoenix/Cornerstone jars. I also went ahead and removed causes for warnings where blockinfo files don't conform to current expected bahviour.
Updated DNS Java library. Attempted to make the interface generic, but stopped short. Did not want to tie the interface to a specfic implementation.
Updated to latest and greatest from Avalon.
Added mysql properties for JDBCMailRepository and included in dist
Amend build.xml for serge s proposal and update config file in proposal
Correct config to match ListServ code and tart up javadocs
Move UsersRepository proposal from proposals/v1.3 to main tree. Includes UsersJDBCRepository contributed by Darrell DeBoer
Added JDBC support for UsersStore, contributed by Darrell DeBoer
Translating docs to xml and cleaning up
Added src-dist target to buildfile & clean up
Corrected buildfile for directory changes
Removed docs dir. Website docs now in www.
Moving to www dir
Start moving docs to www dir
Handle conf files for a proposal
Added proposals dir and ability to include in build
Move conf to src/conf
Moved xdocs to src/xdocs
Bringing build file closer to phoenix
Moving from src/org to src/java/org
Updated ant jar
Updating buildfile closer to avalon style
Cleaning up build file. Added datestamp to dists in preparation for nightly builds.
Updated all avalon to avalon 4.0 beta1 code-freeze.
Major avalon package renaming. Compiles. Excution not yet tested.
Added jmx jars required for avalon
Update james to reflect change to add new config.xml file for configuration (and reduce complexity of assembly.xml).
jakarta-oro library is added to the generated sar
added NNTP Configuration
removed velocity.properties as it isn't needed any longer re-built site using latest site.vsl in jakarta-site2 everything should work now
Corrected build file to include logkit jar in dist and updated to current phoenix jars.
Separated new avalonapi.jar and logkit.
Readded zipfileset stuff.
cleaned up the build system with regards to Anakia. it should actually work now assuming that you have a ../jakarta-site2 module checked out as a dependency thanks, -jon
Added jars to make docs target run, although xdocs wont build for me...
Made build file delete old version of deployed james in dist-lite target.
Updated build file to set up environment for jikes (If it is used). Also adapted build file to modify conf xml file during build process thus making it easy for developers in build/test cycle without editing text files.
Temporarily turned off deprecation so GUMP messages will be clearer.
Updated main scripts to reflect change of where ant exists
Made it so that instead of copying full source tree and compiling copy that the original rtee is used during compilation phase. This is because the copy is legacy of a time when ant was less advanced. Also now include the required jars (mail/activation/etc) in .sar file.
Upgrade to Avalon-3.1a1. Appears to run with filesystem mail and user stores. Please test
Added task and properties for anakia (jakarta-site conversion)
... moving ...
Corrected version no.
Converted from JavaMail 1.1.3 to JavaMail 1.2 FCS
Changed from 1.2.1rc1 to rc2
Changed version for possible bug-fix release.
Assorted documentation updates, added dummy cert for TLS tests
Updated readme, fixed path in dist task
Fixed to match Federico's change to xerces.jar. Also changed to version 1.2 in preparation for new release.
Added conversion of run.sh for chmod and unix linefeeds.
Set it to build the mailet.jar file in addition to the JAMES.jar file.
Added first database implementation of Mail/Spool Repository. Uses Town for database access. Included a few SQL scripts to create table (for different databases) and sample database connection definition files. Wrote howto docs file. Also considated AvalonMailRepository to implement both mail and spool repository, removing redundant class. Works as mail spooler (mail and spool repositories) and POP3 account message storage.
Beta of JAMES 1.2. Major changes is the separation of mailet API. Interfaces defined in org.apache.mailet, and Avalon/JAMES implementation handled by org.apache.james.core and other classes in various packages (as appropriate). Longer term, the mailet API will hopefully be contained in a separate JAR and the source code for this jar moved to a separate part of the CVS tree. For the moment, the build.xml compiles all code into one jar.
Replace items attribute, which is no longer suported by Ant, with includes
Add useage to javadocs task in build file
New Configuration from last avalon update. Added 'bind to' conf for POP3 SMTP and RemoteAdmin
Fixes to build and startup scripts to use new Xerces jar.
bug in build.xml
Upgraded mail.jar (v1.1.1) to mail_1_1_3.jar (v1.1.3)
Converted all remaining uses of term "servlet" with "mailet". Also slight typo fixes in a couple of mailets.
Updated mailet interface to void service(Mail) Added MailetContext More to come soon...
- Updated new Avalon
Update Avalon.jar
Avalon configs and james are now separated. Avalon confs are no more present in the james cvs tree but will be still included in distribution.
Avalon configs and james are now separated. Avalon confs are no more present in the james cvs tree but will be still included in distribution.
Improperly copying CVS attic files into build dir for compilation.
Slight labeling fixes
Patch Avalon.jar.
Added javadoc taskdef
updated to support more recent version of ant
Moved all different Blocks in one. Better architecture.
Added tar.gz and zip distribution binaryes.
MessageContainer to Mail Improved Mail design Improved Memory usage Others minor fixes
Added DNS support to remote delivery
Distribution Alfa
Code cleanup
Added ant stuff
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| apache@apache.org | ViewVC Help |
| Powered by ViewVC 1.1.2 |