spring-build-2.7.0.orig/0000755000175000017500000000000011526021302014742 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/0000755000175000017500000000000011434455215023434 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/build.xml0000644000175000017500000000033111434455215025252 0ustar drazzibdrazzib spring-build-2.7.0.orig/org.springframework.build.aws.ant/ivy.xml0000644000175000017500000000167311434455215024774 0ustar drazzibdrazzib spring-build-2.7.0.orig/org.springframework.build.aws.ant/.classpath0000644000175000017500000000202111434455215025412 0ustar drazzibdrazzib spring-build-2.7.0.orig/org.springframework.build.aws.ant/.project0000644000175000017500000000047411434455215025110 0ustar drazzibdrazzib org.springframework.build.aws.ant org.eclipse.jdt.core.javabuilder org.eclipse.jdt.core.javanature spring-build-2.7.0.orig/org.springframework.build.aws.ant/build.properties0000644000175000017500000000024211434455215026647 0ustar drazzibdrazzibversion=3.0.6 release.type=integration project.key=BUILD ivy.cache.dir=${basedir}/ivy-cache integration.repo.dir=${basedir}/integration-repo disable.bundlor=true spring-build-2.7.0.orig/org.springframework.build.aws.ant/src/0000755000175000017500000000000011434455215024223 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/0000755000175000017500000000000011434455215025147 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/0000755000175000017500000000000011434455215027161 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/mime.types0000644000175000017500000003563311434455215031210 0ustar drazzibdrazzib# This is a comment. I love comments. # This file controls what Internet media types are sent to the client for # given file extension(s). Sending the correct media type to the client # is important so they know how to handle the content of the file. # Extra types can either be added here or by using an AddType directive # in your config files. For more information about Internet media types, # please read RFC 2045, 2046, 2047, 2048, and 2077. The Internet media type # registry is at . # MIME type Extensions application/activemessage application/andrew-inset ez application/applefile application/atom+xml atom application/atomicmail application/batch-smtp application/beep+xml application/cals-1840 application/cnrp+xml application/commonground application/cpl+xml application/cybercash application/dca-rft application/dec-dx application/dvcs application/edi-consent application/edifact application/edi-x12 application/eshop application/font-tdpfr application/http application/hyperstudio application/iges application/index application/index.cmd application/index.obj application/index.response application/index.vnd application/iotp application/ipp application/isup application/mac-binhex40 hqx application/mac-compactpro cpt application/macwriteii application/marc application/mathematica application/mathml+xml mathml application/msword doc application/news-message-id application/news-transmission application/ocsp-request application/ocsp-response application/octet-stream bin dms lha lzh exe class so dll dmg application/oda oda application/ogg ogg application/parityfec application/pdf pdf application/pgp-encrypted application/pgp-keys application/pgp-signature application/pkcs10 application/pkcs7-mime application/pkcs7-signature application/pkix-cert application/pkix-crl application/pkixcmp application/postscript ai eps ps application/prs.alvestrand.titrax-sheet application/prs.cww application/prs.nprend application/prs.plucker application/qsig application/rdf+xml rdf application/reginfo+xml application/remote-printing application/riscos application/rtf application/sdp application/set-payment application/set-payment-initiation application/set-registration application/set-registration-initiation application/sgml application/sgml-open-catalog application/sieve application/slate application/smil smi smil application/srgs gram application/srgs+xml grxml application/timestamp-query application/timestamp-reply application/tve-trigger application/vemmi application/vnd.3gpp.pic-bw-large application/vnd.3gpp.pic-bw-small application/vnd.3gpp.pic-bw-var application/vnd.3gpp.sms application/vnd.3m.post-it-notes application/vnd.accpac.simply.aso application/vnd.accpac.simply.imp application/vnd.acucobol application/vnd.acucorp application/vnd.adobe.xfdf application/vnd.aether.imp application/vnd.amiga.ami application/vnd.anser-web-certificate-issue-initiation application/vnd.anser-web-funds-transfer-initiation application/vnd.audiograph application/vnd.blueice.multipass application/vnd.bmi application/vnd.businessobjects application/vnd.canon-cpdl application/vnd.canon-lips application/vnd.cinderella application/vnd.claymore application/vnd.commerce-battelle application/vnd.commonspace application/vnd.contact.cmsg application/vnd.cosmocaller application/vnd.criticaltools.wbs+xml application/vnd.ctc-posml application/vnd.cups-postscript application/vnd.cups-raster application/vnd.cups-raw application/vnd.curl application/vnd.cybank application/vnd.data-vision.rdz application/vnd.dna application/vnd.dpgraph application/vnd.dreamfactory application/vnd.dxr application/vnd.ecdis-update application/vnd.ecowin.chart application/vnd.ecowin.filerequest application/vnd.ecowin.fileupdate application/vnd.ecowin.series application/vnd.ecowin.seriesrequest application/vnd.ecowin.seriesupdate application/vnd.enliven application/vnd.epson.esf application/vnd.epson.msf application/vnd.epson.quickanime application/vnd.epson.salt application/vnd.epson.ssf application/vnd.ericsson.quickcall application/vnd.eudora.data application/vnd.fdf application/vnd.ffsns application/vnd.fints application/vnd.flographit application/vnd.framemaker application/vnd.fsc.weblaunch application/vnd.fujitsu.oasys application/vnd.fujitsu.oasys2 application/vnd.fujitsu.oasys3 application/vnd.fujitsu.oasysgp application/vnd.fujitsu.oasysprs application/vnd.fujixerox.ddd application/vnd.fujixerox.docuworks application/vnd.fujixerox.docuworks.binder application/vnd.fut-misnet application/vnd.grafeq application/vnd.groove-account application/vnd.groove-help application/vnd.groove-identity-message application/vnd.groove-injector application/vnd.groove-tool-message application/vnd.groove-tool-template application/vnd.groove-vcard application/vnd.hbci application/vnd.hhe.lesson-player application/vnd.hp-hpgl application/vnd.hp-hpid application/vnd.hp-hps application/vnd.hp-pcl application/vnd.hp-pclxl application/vnd.httphone application/vnd.hzn-3d-crossword application/vnd.ibm.afplinedata application/vnd.ibm.electronic-media application/vnd.ibm.minipay application/vnd.ibm.modcap application/vnd.ibm.rights-management application/vnd.ibm.secure-container application/vnd.informix-visionary application/vnd.intercon.formnet application/vnd.intertrust.digibox application/vnd.intertrust.nncp application/vnd.intu.qbo application/vnd.intu.qfx application/vnd.irepository.package+xml application/vnd.is-xpr application/vnd.japannet-directory-service application/vnd.japannet-jpnstore-wakeup application/vnd.japannet-payment-wakeup application/vnd.japannet-registration application/vnd.japannet-registration-wakeup application/vnd.japannet-setstore-wakeup application/vnd.japannet-verification application/vnd.japannet-verification-wakeup application/vnd.jisp application/vnd.kde.karbon application/vnd.kde.kchart application/vnd.kde.kformula application/vnd.kde.kivio application/vnd.kde.kontour application/vnd.kde.kpresenter application/vnd.kde.kspread application/vnd.kde.kword application/vnd.kenameaapp application/vnd.koan application/vnd.liberty-request+xml application/vnd.llamagraphics.life-balance.desktop application/vnd.llamagraphics.life-balance.exchange+xml application/vnd.lotus-1-2-3 application/vnd.lotus-approach application/vnd.lotus-freelance application/vnd.lotus-notes application/vnd.lotus-organizer application/vnd.lotus-screencam application/vnd.lotus-wordpro application/vnd.mcd application/vnd.mediastation.cdkey application/vnd.meridian-slingshot application/vnd.micrografx.flo application/vnd.micrografx.igx application/vnd.mif mif application/vnd.minisoft-hp3000-save application/vnd.mitsubishi.misty-guard.trustweb application/vnd.mobius.daf application/vnd.mobius.dis application/vnd.mobius.mbk application/vnd.mobius.mqy application/vnd.mobius.msl application/vnd.mobius.plc application/vnd.mobius.txf application/vnd.mophun.application application/vnd.mophun.certificate application/vnd.motorola.flexsuite application/vnd.motorola.flexsuite.adsi application/vnd.motorola.flexsuite.fis application/vnd.motorola.flexsuite.gotap application/vnd.motorola.flexsuite.kmr application/vnd.motorola.flexsuite.ttc application/vnd.motorola.flexsuite.wem application/vnd.mozilla.xul+xml xul application/vnd.ms-artgalry application/vnd.ms-asf application/vnd.ms-excel xls application/vnd.ms-lrm application/vnd.ms-powerpoint ppt application/vnd.ms-project application/vnd.ms-tnef application/vnd.ms-works application/vnd.ms-wpl application/vnd.mseq application/vnd.msign application/vnd.music-niff application/vnd.musician application/vnd.netfpx application/vnd.noblenet-directory application/vnd.noblenet-sealer application/vnd.noblenet-web application/vnd.novadigm.edm application/vnd.novadigm.edx application/vnd.novadigm.ext application/vnd.obn application/vnd.osa.netdeploy application/vnd.palm application/vnd.pg.format application/vnd.pg.osasli application/vnd.powerbuilder6 application/vnd.powerbuilder6-s application/vnd.powerbuilder7 application/vnd.powerbuilder7-s application/vnd.powerbuilder75 application/vnd.powerbuilder75-s application/vnd.previewsystems.box application/vnd.publishare-delta-tree application/vnd.pvi.ptid1 application/vnd.pwg-multiplexed application/vnd.pwg-xhtml-print+xml application/vnd.quark.quarkxpress application/vnd.rapid application/vnd.rn-realmedia rm application/vnd.s3sms application/vnd.sealed.net application/vnd.seemail application/vnd.shana.informed.formdata application/vnd.shana.informed.formtemplate application/vnd.shana.informed.interchange application/vnd.shana.informed.package application/vnd.smaf application/vnd.sss-cod application/vnd.sss-dtf application/vnd.sss-ntf application/vnd.street-stream application/vnd.svd application/vnd.swiftview-ics application/vnd.triscape.mxs application/vnd.trueapp application/vnd.truedoc application/vnd.ufdl application/vnd.uplanet.alert application/vnd.uplanet.alert-wbxml application/vnd.uplanet.bearer-choice application/vnd.uplanet.bearer-choice-wbxml application/vnd.uplanet.cacheop application/vnd.uplanet.cacheop-wbxml application/vnd.uplanet.channel application/vnd.uplanet.channel-wbxml application/vnd.uplanet.list application/vnd.uplanet.list-wbxml application/vnd.uplanet.listcmd application/vnd.uplanet.listcmd-wbxml application/vnd.uplanet.signal application/vnd.vcx application/vnd.vectorworks application/vnd.vidsoft.vidconference application/vnd.visio application/vnd.visionary application/vnd.vividence.scriptfile application/vnd.vsf application/vnd.wap.sic application/vnd.wap.slc application/vnd.wap.wbxml wbxml application/vnd.wap.wmlc wmlc application/vnd.wap.wmlscriptc wmlsc application/vnd.webturbo application/vnd.wrq-hp3000-labelled application/vnd.wt.stf application/vnd.wv.csp+wbxml application/vnd.xara application/vnd.xfdl application/vnd.yamaha.hv-dic application/vnd.yamaha.hv-script application/vnd.yamaha.hv-voice application/vnd.yellowriver-custom-menu application/voicexml+xml vxml application/watcherinfo+xml application/whoispp-query application/whoispp-response application/wita application/wordperfect5.1 application/x-bcpio bcpio application/x-cdlink vcd application/x-chess-pgn pgn application/x-compress application/x-cpio cpio application/x-csh csh application/x-director dcr dir dxr application/x-dvi dvi application/x-futuresplash spl application/x-gtar gtar application/x-gzip gz application/x-hdf hdf application/x-javascript js application/x-java-jnlp-file jnlp application/x-koan skp skd skt skm application/x-latex latex application/x-netcdf nc cdf application/x-sh sh application/x-shar shar application/x-shockwave-flash swf application/x-stuffit sit application/x-sv4cpio sv4cpio application/x-sv4crc sv4crc application/x-tar tar application/x-tcl tcl application/x-tex tex application/x-texinfo texinfo texi application/x-troff t tr roff application/x-troff-man man application/x-troff-me me application/x-troff-ms ms application/x-ustar ustar application/x-wais-source src application/x400-bp application/xhtml+xml xhtml xht application/xslt+xml xslt application/xml xml xsl application/xml-dtd dtd application/xml-external-parsed-entity application/zip zip audio/32kadpcm audio/amr audio/amr-wb audio/basic au snd audio/cn audio/dat12 audio/dsr-es201108 audio/dvi4 audio/evrc audio/evrc0 audio/g722 audio/g.722.1 audio/g723 audio/g726-16 audio/g726-24 audio/g726-32 audio/g726-40 audio/g728 audio/g729 audio/g729D audio/g729E audio/gsm audio/gsm-efr audio/l8 audio/l16 audio/l20 audio/l24 audio/lpc audio/midi mid midi kar audio/mpa audio/mpa-robust audio/mp4a-latm m4a m4p audio/mpeg mpga mp2 mp3 audio/parityfec audio/pcma audio/pcmu audio/prs.sid audio/qcelp audio/red audio/smv audio/smv0 audio/telephone-event audio/tone audio/vdvi audio/vnd.3gpp.iufp audio/vnd.cisco.nse audio/vnd.cns.anp1 audio/vnd.cns.inf1 audio/vnd.digital-winds audio/vnd.everad.plj audio/vnd.lucent.voice audio/vnd.nortel.vbk audio/vnd.nuera.ecelp4800 audio/vnd.nuera.ecelp7470 audio/vnd.nuera.ecelp9600 audio/vnd.octel.sbc audio/vnd.qcelp audio/vnd.rhetorex.32kadpcm audio/vnd.vmx.cvsd audio/x-aiff aif aiff aifc audio/x-alaw-basic audio/x-mpegurl m3u audio/x-pn-realaudio ram ra audio/x-pn-realaudio-plugin audio/x-wav wav chemical/x-pdb pdb chemical/x-xyz xyz image/bmp bmp image/cgm cgm image/g3fax image/gif gif image/ief ief image/jpeg jpeg jpg jpe image/jp2 jp2 image/naplps image/pict pict pic pct image/png png image/prs.btif image/prs.pti image/svg+xml svg image/t38 image/tiff tiff tif image/tiff-fx image/vnd.cns.inf2 image/vnd.djvu djvu djv image/vnd.dwg image/vnd.dxf image/vnd.fastbidsheet image/vnd.fpx image/vnd.fst image/vnd.fujixerox.edmics-mmr image/vnd.fujixerox.edmics-rlc image/vnd.globalgraphics.pgb image/vnd.mix image/vnd.ms-modi image/vnd.net-fpx image/vnd.svf image/vnd.wap.wbmp wbmp image/vnd.xiff image/x-cmu-raster ras image/x-macpaint pntg pnt mac image/x-icon ico image/x-portable-anymap pnm image/x-portable-bitmap pbm image/x-portable-graymap pgm image/x-portable-pixmap ppm image/x-quicktime qtif qti image/x-rgb rgb image/x-xbitmap xbm image/x-xpixmap xpm image/x-xwindowdump xwd message/delivery-status message/disposition-notification message/external-body message/http message/news message/partial message/rfc822 message/s-http message/sip message/sipfrag model/iges igs iges model/mesh msh mesh silo model/vnd.dwf model/vnd.flatland.3dml model/vnd.gdl model/vnd.gs-gdl model/vnd.gtw model/vnd.mts model/vnd.parasolid.transmit.binary model/vnd.parasolid.transmit.text model/vnd.vtu model/vrml wrl vrml multipart/alternative multipart/appledouble multipart/byteranges multipart/digest multipart/encrypted multipart/form-data multipart/header-set multipart/mixed multipart/parallel multipart/related multipart/report multipart/signed multipart/voice-message text/calendar ics ifb text/css css text/directory text/enriched text/html html htm text/parityfec text/plain asc txt text/prs.lines.tag text/rfc822-headers text/richtext rtx text/rtf rtf text/sgml sgml sgm text/t140 text/tab-separated-values tsv text/uri-list text/vnd.abc text/vnd.curl text/vnd.dmclientscript text/vnd.fly text/vnd.fmi.flexstor text/vnd.in3d.3dml text/vnd.in3d.spot text/vnd.iptc.nitf text/vnd.iptc.newsml text/vnd.latex-z text/vnd.motorola.reflex text/vnd.ms-mediapackage text/vnd.net2phone.commcenter.command text/vnd.sun.j2me.app-descriptor text/vnd.wap.si text/vnd.wap.sl text/vnd.wap.wml wml text/vnd.wap.wmlscript wmls text/x-setext etx text/xml text/xml-external-parsed-entity video/3gpp 3gp video/bmpeg video/bt656 video/celb video/dv video/h261 video/h263 video/h263-1998 video/h263-2000 video/jpeg video/mp1s video/mp2p video/mp2t video/mp4 mp4 video/mp4v-es video/mpv video/mpeg mpeg mpg mpe video/nv video/parityfec video/pointer video/quicktime qt mov video/smpte292m video/vnd.fvt video/vnd.motorola.video video/vnd.motorola.videop video/vnd.mpegurl mxu m4u video/vnd.nokia.interleaved-multimedia video/vnd.objectvideo video/vnd.vivo video/x-dv dv dif video/x-flv flv video/x-ms-wmv wmv video/x-msvideo avi video/x-sgi-movie movie x-conference/x-cooltalk ice spring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/META-INF/0000755000175000017500000000000011434455215030321 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/META-INF/MANIFEST.MF0000644000175000017500000000111411434455215031750 0ustar drazzibdrazzibManifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-SymbolicName: org.springframework.build.aws.ant Bundle-Vendor: SpringSource Inc. Import-Package: org.apache.tools.ant;version="[1.7.0, 2.0.0)", org.apache.tools.ant.types;version="[1.7.0, 2.0.0)", org.apache.tools.ant.types.selectors;version="[1.7.0, 2.0.0)", org.jets3t.service;version="[0.6.1, 1.0.0)", org.jets3t.service.acl;version="[0.6.1, 1.0.0)", org.jets3t.service.impl.rest.httpclient;version="[0.6.1, 1.0.0)", org.jets3t.service.model;version="[0.6.1, 1.0.0)", org.jets3t.service.security;version="[0.6.1, 1.0.0)" spring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/org/0000755000175000017500000000000011434455215027750 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/org/springframework/0000755000175000017500000000000011434455215033170 5ustar drazzibdrazzib././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/org/springframework/build/spring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/org/springframework/bui0000755000175000017500000000000011434455215033670 5ustar drazzibdrazzib././@LongLink0000000000000000000000000000015400000000000011565 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/org/springframework/build/aws/spring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/org/springframework/bui0000755000175000017500000000000011434455215033670 5ustar drazzibdrazzib././@LongLink0000000000000000000000000000016000000000000011562 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/org/springframework/build/aws/ant/spring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/org/springframework/bui0000755000175000017500000000000011434455215033670 5ustar drazzibdrazzib././@LongLink0000000000000000000000000000017200000000000011565 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/org/springframework/build/aws/ant/antlib.xmlspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/resources/org/springframework/bui0000644000175000017500000000020211434455215033664 0ustar drazzibdrazzib spring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/0000755000175000017500000000000011434455215026070 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/0000755000175000017500000000000011434455215026657 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/0000755000175000017500000000000011434455215032077 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/0000755000175000017500000000000011434455215033176 5ustar drazzibdrazzib././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/spring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000755000175000017500000000000011434455215033526 5ustar drazzibdrazzib././@LongLink0000000000000000000000000000015300000000000011564 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/ant/spring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000755000175000017500000000000011434455215033526 5ustar drazzibdrazzib././@LongLink0000000000000000000000000000016600000000000011570 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/ant/Delete.javaspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000644000175000017500000000574711434455215033545 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.aws.ant; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Project; import org.apache.tools.ant.types.FileSet; import org.jets3t.service.S3Service; import org.jets3t.service.S3ServiceException; import org.jets3t.service.model.S3Bucket; /** * A member of the S3 ANT task for dealing with Amazon S3 delete behavior. This * operation will use the credentials setup in its parent S3 task tag. * * @author Ben Hale */ public class Delete extends AbstractS3Operation { private String file; private List fileSets = new ArrayList(1); /** * Optional parameter that corresponds to the source object key in S3 * @param file The source object key in S3 */ public void setFile(String file) { this.file = file; } /** * Adds an optional fileSet to read delete from. * @param fileSet The set of files to delete */ public void addFileSet(FileSet fileSet) { fileSets.add(fileSet); } /** * Verify that required parameters have been set */ public void init() { if (bucketName == null) { throw new BuildException("bucketName must be set"); } if (file != null && fileSets.size() > 0) { throw new BuildException("Only one of file and may be set"); } if (file == null && fileSets.size() == 0) { throw new BuildException("At least one of file and must be set"); } } public void execute(S3Service service) throws S3ServiceException, IOException { if (file != null) { processFile(service); } else if (fileSets.size() > 0) { processSet(service); } } private void processFile(S3Service service) throws S3ServiceException { deleteFile(service, getOperationBucket(), file); } private void processSet(S3Service service) throws IOException, S3ServiceException { S3Bucket bucket = getOperationBucket(); for (FileSet fileSet : fileSets) { S3Scanner scanner = getS3Scanner(bucket, fileSet.mergePatterns(project), getS3SafeDirectory(fileSet.getDir())); List keys = scanner.getQualifiyingKeys(service); for (String key : keys) { deleteFile(service, bucket, key); } } } private void deleteFile(S3Service service, S3Bucket bucket, String key) throws S3ServiceException { service.deleteObject(bucket, key); project.log("Deleted s3://" + bucket.getName() + "/" + key, Project.MSG_INFO); } } ././@LongLink0000000000000000000000000000020400000000000011561 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/ant/SimpleStorageService.javaspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000644000175000017500000000721211434455215033532 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.aws.ant; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.tools.ant.BuildException; import org.jets3t.service.S3Service; import org.jets3t.service.S3ServiceException; import org.jets3t.service.impl.rest.httpclient.RestS3Service; import org.jets3t.service.security.AWSCredentials; /** * An ANT task for dealing with the Amazon S3 service. Requires properties to be * set for an accessKey and a secretKey. S3 operations * are listed as elements contained in the s3 tag. * *
 * <aws:s3 accessKey="${s3.accessKey}" secretKey="${s3.secretKey}">
 *         <upload bucketName="static.springframework.org"
 *                 file="${target.release.dir}/${release-with-dependencies.zip}"
 *                 toFile="SPR/spring-framework-${spring-version}-with-dependencies-${tstamp}-${build.number}.zip"
 *                 publicRead="true"/>
 *         <upload bucketName="static.springframework.org"
 *                 file="${target.release.dir}/${release.zip}"
 *                 toFile="SPR/spring-framework-${spring-version}-${tstamp}-${build.number}.zip"
 *                 publicRead="true"/>
 * </aws:s3>
 * 
* * @author Ben Hale */ public class SimpleStorageService { private String accessKey; private String secretKey; private List operations = new ArrayList(); /** * Required parameter that corresponds to the S3 Access Key * @param accessKey The S3 Access Key */ public void setAccessKey(String accessKey) { this.accessKey = accessKey; } /** * Required parameter that corresponds to the S3 Secret Key * @param secretKey The S3 Secret Key */ public void setSecretKey(String secretKey) { this.secretKey = secretKey; } /** * Add any upload operations * @param upload The upload operation metadata */ public void addConfiguredUpload(Upload upload) { operations.add(upload); } /** * Add any download operations * @param download The download operation metadata */ public void addConfiguredDownload(Download download) { operations.add(download); } /** * Add any downloadLatest operations * @param download The downloadLatest operation metadata */ public void addConfiguredDownloadLatest(DownloadLatest downloadLatest) { operations.add(downloadLatest); } /** * Add any delete operations * @param delete The delete operation metadata */ public void addConfiguredDelete(Delete delete) { operations.add(delete); } /** * Run all S3 operations configured as part of this task */ public void execute() { try { AWSCredentials credentials = new AWSCredentials(accessKey, secretKey); S3Service service = new RestS3Service(credentials); for (S3Operation operation : operations) { operation.execute(service); } } catch (S3ServiceException e) { throw new BuildException(e); } catch (IOException e) { throw new BuildException(e); } } } ././@LongLink0000000000000000000000000000017000000000000011563 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/ant/Download.javaspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000644000175000017500000001000011434455215033517 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.aws.ant; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.types.FileSet; import org.jets3t.service.S3Service; import org.jets3t.service.S3ServiceException; import org.jets3t.service.model.S3Bucket; /** * A member of the S3 ANT task for dealing with Amazon S3 download behavior. * This operation will use the credentials setup in its parent S3 task tag. * * @author Ben Hale */ public class Download extends AbstractS3DownloadOperation { private String file; private List fileSets = new ArrayList(1); private File toDir; private File toFile; /** * Optional parameter that corresponds to the source object key in S3 * @param file The source object key in S3 */ public void setFile(String file) { this.file = file; } /** * Adds an optional fileSet to read files from. * @param fileSet The set of files to download */ public void addFileSet(FileSet fileSet) { fileSets.add(fileSet); } /** * Optional parameter that corresponds to the target object directory * @param toDir The target object directory */ public void setToDir(File toDir) { this.toDir = toDir; } /** * Required parameter that corresponds to the file to download * @param toFile The file to download */ public void setToFile(File toFile) { this.toFile = toFile; } /** * Verify that required parameters have been set */ public void init() { if (bucketName == null) { throw new BuildException("bucketName must be set"); } if (file != null && fileSets.size() > 0) { throw new BuildException("Only one of file and may be set"); } if (file == null && fileSets.size() == 0) { throw new BuildException("At least one of file and must be set"); } if (toFile != null && toDir != null) { throw new BuildException("Only one of toFile and toDir may be set"); } if (toFile == null && toDir == null) { throw new BuildException("At least one of toFile and toDir must be set"); } if (fileSets.size() > 0 && toFile != null) { throw new BuildException("toFile cannot be used when specifying a to download"); } } public void execute(S3Service service) throws S3ServiceException, IOException { if (file != null && toFile != null) { processFileToFile(service); } else if (file != null && toDir != null) { processFileToDir(service); } else if (fileSets.size() > 0 && toDir != null) { processSetToDir(service); } } private void processFileToFile(S3Service service) throws S3ServiceException, IOException { getFile(service, getOperationBucket(), file, toFile); } private void processFileToDir(S3Service service) throws S3ServiceException, IOException { getFile(service, getOperationBucket(), file, new File(toDir, file.substring(file.lastIndexOf('/')))); } private void processSetToDir(S3Service service) throws S3ServiceException, IOException { S3Bucket bucket = getOperationBucket(); for (FileSet fileSet : fileSets) { S3Scanner scanner = getS3Scanner(bucket, fileSet.mergePatterns(project), getS3SafeDirectory(fileSet .getDir())); List keys = scanner.getQualifiyingKeys(service); for (String key : keys) { if (!key.endsWith("/")) { getFile(service, bucket, key, new File(toDir, key.substring(getS3SafeDirectory(fileSet.getDir()) .length()))); } } } } } ././@LongLink0000000000000000000000000000017300000000000011566 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/ant/S3Operation.javaspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000644000175000017500000000206711434455215033535 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.aws.ant; import java.io.IOException; import org.jets3t.service.S3Service; import org.jets3t.service.S3ServiceException; /** * An generic execution interface for all of the S3 operations. */ public interface S3Operation { /** * Execute an S3 operation * @param service The S3 Service to execute against * @throws S3ServiceException * @throws IOException */ void execute(S3Service service) throws S3ServiceException, IOException; } ././@LongLink0000000000000000000000000000016600000000000011570 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/ant/Upload.javaspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000644000175000017500000001472311434455215033537 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.aws.ant; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.DirectoryScanner; import org.apache.tools.ant.Project; import org.apache.tools.ant.types.FileSet; import org.jets3t.service.S3Service; import org.jets3t.service.S3ServiceException; import org.jets3t.service.acl.AccessControlList; import org.jets3t.service.model.S3Bucket; import org.jets3t.service.model.S3Object; /** * A member of the S3 ANT task for dealing with Amazon S3 upload behavior. This * operation will use the credentials setup in its parent S3 task tag. * * @author Ben Hale */ public class Upload extends AbstractS3Operation { private File file; private List fileSets = new ArrayList(); private String toDir; private String toFile; private boolean publicRead = false; private Set metadatas = new HashSet(); /** * Optional parameter that corresponds to the file to upload * @param file The file to upload */ public void setFile(File file) { this.file = file; } /** * Adds an optional fileSet to read files from. * @param fileSet The set of files to upload */ public void addFileSet(FileSet fileSet) { fileSets.add(fileSet); } /** * Adds an optional piece of * @param property */ public void addMetadata(Metadata metadata) { metadatas.add(metadata); } /** * Optional parameter that corresponds to the target object 'directory' in * S3 * @param toDir The target object 'directory' in S3 */ public void setToDir(String toDir) { this.toDir = toDir; } /** * Optional parameter that corresponds to the target object key in S3 * @param toFile The target object key in S3 */ public void setToFile(String toFile) { this.toFile = toFile; } /** * Optional parameter that corresponds to public readability of the object * in S3. Defaults to false. * @param publicRead */ public void setPublicRead(boolean publicRead) { this.publicRead = publicRead; } /** * Verify that required parameters have been set */ public void init() { if (bucketName == null) { throw new BuildException("bucketName must be set"); } if (file != null && fileSets.size() > 0) { throw new BuildException("Only one of file and may be set"); } if (file == null && fileSets.size() == 0) { throw new BuildException("At least one of file and must be set"); } if (toFile != null && toDir != null) { throw new BuildException("Only one of toFile and toDir may be set"); } if (toFile == null && toDir == null) { throw new BuildException("At least one of toFile and toDir must be set"); } if (fileSets.size() > 0 && toFile != null) { throw new BuildException("toFile cannot be used when specifying a to upload"); } } public void execute(S3Service service) throws S3ServiceException, IOException { if (file != null && toFile != null) { processFileToFile(service); } else if (file != null && toDir != null) { processFileToDir(service); } else if (fileSets.size() > 0 && toDir != null) { processSetToDir(service); } } private void processFileToFile(S3Service service) throws S3ServiceException, IOException { S3Bucket bucket = new S3Bucket(bucketName); putFile(service, bucket, file, toFile); } private void processFileToDir(S3Service service) throws S3ServiceException, IOException { S3Bucket bucket = new S3Bucket(bucketName); putFile(service, bucket, file, toDir + "/" + file.getName()); } private void processSetToDir(S3Service service) throws S3ServiceException, IOException { for (FileSet fileSet : fileSets) { DirectoryScanner ds = fileSet.getDirectoryScanner(project); String[] includedFiles = ds.getIncludedFiles(); for (String file : includedFiles) { putFile(service, getOperationBucket(), new File(ds.getBasedir(), file), toDir + "/" + file); } } } private void putFile(S3Service service, S3Bucket bucket, File source, String key) throws S3ServiceException, IOException { buildDestinationPath(service, bucket, getDestinationPath(key)); S3Object destination = new S3Object(bucket, key); if (publicRead) { destination.setAcl(AccessControlList.REST_CANNED_PUBLIC_READ); } destination.setDataInputFile(source); destination.setContentLength(source.length()); for(Metadata metadata : metadatas) { destination.addMetadata(metadata.getName(), metadata.getValue()); } logStart(source, destination); long startTime = System.currentTimeMillis(); service.putObject(bucket, destination); long endTime = System.currentTimeMillis(); logEnd(source, startTime, endTime); } private String getDestinationPath(String destination) { return destination.substring(0, destination.lastIndexOf('/')); } private void buildDestinationPath(S3Service service, S3Bucket bucket, String destination) throws S3ServiceException { S3Object object = new S3Object(bucket, destination + "/"); if (publicRead) { object.setAcl(AccessControlList.REST_CANNED_PUBLIC_READ); } object.setContentLength(0); service.putObject(bucket, object); int index = destination.lastIndexOf('/'); if (index != -1) { buildDestinationPath(service, bucket, destination.substring(0, index)); } } private void logStart(File source, S3Object destination) throws IOException { project.log("Uploading " + source.getCanonicalPath() + " (" + TransferUtils.getFormattedSize(source.length()) + ") to s3://" + destination.getBucketName() + "/" + destination.getKey(), Project.MSG_INFO); } private void logEnd(File source, long startTime, long endTime) { long transferTime = endTime - startTime; project.log("Transfer Time: " + TransferUtils.getFormattedTime(transferTime) + " - Transfer Rate: " + TransferUtils.getFormattedSpeed(source.length(), transferTime), Project.MSG_INFO); } } ././@LongLink0000000000000000000000000000017000000000000011563 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/ant/Metadata.javaspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000644000175000017500000000202011434455215033522 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.aws.ant; /** * A member of the S3 ANT task for dealing with the metadata on an upload. * * @author Ben Hale */ public class Metadata { private String name; private String value; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } } ././@LongLink0000000000000000000000000000020300000000000011560 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/ant/AbstractS3Operation.javaspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000644000175000017500000000540511434455215033534 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.aws.ant; import java.io.File; import java.io.IOException; import org.apache.tools.ant.Project; import org.apache.tools.ant.types.PatternSet; import org.jets3t.service.model.S3Bucket; public abstract class AbstractS3Operation implements S3Operation { protected String bucketName; protected Project project; /** * Required parameter that corresponds to the S3 bucket to delete from * @param bucketName The name of the bucket */ public void setBucketName(String bucketName) { this.bucketName = bucketName; } /** * Infrastructure element * @param project The project this task is running in */ public void setProject(Project project) { this.project = project; } /** * Returns a file scanner for an S3 repository. * @param bucket The bucket to scan * @param patterns The patterns to scan for * @param baseDirectory The 'directory' to start the scan at * @return An initialized scanner */ protected S3Scanner getS3Scanner(S3Bucket bucket, PatternSet patterns, String baseDirectory) { return new S3Scanner(bucket, baseDirectory, patterns.getIncludePatterns(project), patterns .getExcludePatterns(project)); } /** * Get the bucket for this operation * @return An S3 bucket */ protected S3Bucket getOperationBucket() { return new S3Bucket(bucketName); } /** * Gets a 'directory' that is safe to use with S3. Due to some stupidity in * ANT, a fileset will only pass back a dir argument that is relative to the * project root. This strips that project root part of that directory giving * you the intended path from the root of the bucket. * @param file The ANT supplied directory to be normalized * @return A path that has been stripped of it's project root and made safe * for S3 * @throws IOException */ protected String getS3SafeDirectory(File file) throws IOException { String longPath = file.getCanonicalPath(); String normalizedPath; if (!longPath.endsWith("/")) { normalizedPath = longPath + '/'; } else { normalizedPath = longPath; } String unneededPath = project.getBaseDir().getCanonicalPath(); return normalizedPath.substring(unneededPath.length() + 1).replace('\\', '/'); } } ././@LongLink0000000000000000000000000000021300000000000011561 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/ant/AbstractS3DownloadOperation.javaspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000644000175000017500000000531011434455215033527 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.aws.ant; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import org.apache.tools.ant.Project; import org.jets3t.service.S3Service; import org.jets3t.service.S3ServiceException; import org.jets3t.service.model.S3Bucket; import org.jets3t.service.model.S3Object; public abstract class AbstractS3DownloadOperation extends AbstractS3Operation { private static final int BUFFER_SIZE = 64 * 1024; protected void getFile(S3Service service, S3Bucket bucket, String key, File destination) throws S3ServiceException, IOException { InputStream in = null; OutputStream out = null; try { if (!destination.getParentFile().exists()) { destination.getParentFile().mkdirs(); } S3Object source = service.getObject(bucket, key); in = source.getDataInputStream(); out = new FileOutputStream(destination); logStart(source, destination); long startTime = System.currentTimeMillis(); byte[] buffer = new byte[BUFFER_SIZE]; int length; while ((length = in.read(buffer)) != -1) { out.write(buffer, 0, length); } long endTime = System.currentTimeMillis(); logEnd(source, startTime, endTime); } finally { if (in != null) { try { in.close(); } catch (IOException e) { // Nothing to do at this point } } if (out != null) { try { out.close(); } catch (IOException e) { // Nothing to do at this point } } } } private void logStart(S3Object source, File destination) throws IOException { project.log("Downloading s3://" + source.getBucketName() + "/" + source.getKey() + " (" + TransferUtils.getFormattedSize(source.getContentLength()) + ") to " + destination.getCanonicalPath(), Project.MSG_INFO); } private void logEnd(S3Object source, long startTime, long endTime) { long transferTime = endTime - startTime; project.log("Transfer Time: " + TransferUtils.getFormattedTime(transferTime) + " - Transfer Rate: " + TransferUtils.getFormattedSpeed(source.getContentLength(), transferTime), Project.MSG_INFO); } }././@LongLink0000000000000000000000000000017100000000000011564 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/ant/S3Scanner.javaspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000644000175000017500000000662511434455215033541 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.aws.ant; import java.util.ArrayList; import java.util.List; import org.apache.tools.ant.types.selectors.SelectorUtils; import org.jets3t.service.S3Service; import org.jets3t.service.S3ServiceException; import org.jets3t.service.model.S3Bucket; import org.jets3t.service.model.S3Object; class S3Scanner { private final S3Bucket bucket; private final String baseDirectory; private final List includePatterns; private final List excludePatterns; /** * Creates a new instance of a scanner for an S3 repository. * @param bucket The bucket to scan in * @param baseDirectory The base 'directory' to scan in * @param inlcudePatterns The include patterns to scan for * @param excludePatterns The exclude patterns to scan for */ public S3Scanner(S3Bucket bucket, String baseDirectory, String[] includePatterns, String[] excludePatterns) { this.bucket = bucket; this.baseDirectory = baseDirectory; if (includePatterns == null || includePatterns.length == 0) { this.includePatterns = normalizePatterns(new String[] { "**" }); } else { this.includePatterns = normalizePatterns(includePatterns); } if (excludePatterns == null) { this.excludePatterns= normalizePatterns(new String[0]); } else { this.excludePatterns = normalizePatterns(excludePatterns); } } /** * Returns a list of keys that qualify the include and exclude patterns * specified. * @param service The S3 service to use for scanning * @return The list of qualifying keys * @throws S3ServiceException */ public List getQualifiyingKeys(S3Service service) throws S3ServiceException { List qualifying = new ArrayList(); S3Object[] candidates = service.listObjects(bucket, baseDirectory, ""); for (S3Object candidate : candidates) { String trimmedCandidate = candidate.getKey().substring(baseDirectory.length()); if (matchesInclude(trimmedCandidate) && !matchesExclude(trimmedCandidate)) { qualifying.add(candidate.getKey()); } } return qualifying; } private List normalizePatterns(String[] patterns) { List normalizedPatterns = new ArrayList(patterns.length); for (String pattern : patterns) { normalizedPatterns.add(normalizePattern(pattern)); } return normalizedPatterns; } private String normalizePattern(String pattern) { if (pattern.endsWith("/")) { return pattern + "**"; } return pattern; } private boolean matchesInclude(String candidate) { return matches(includePatterns, candidate); } private boolean matchesExclude(String candidate) { return matches(excludePatterns, candidate); } private boolean matches(List patterns, String candidate) { for (String pattern : patterns) { if (SelectorUtils.matchPath(pattern, candidate)) { return true; } } return false; } } ././@LongLink0000000000000000000000000000017500000000000011570 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/ant/TransferUtils.javaspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000644000175000017500000000424211434455215033532 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.aws.ant; import java.text.DecimalFormat; import java.text.NumberFormat; /** * Base class with utility methods for all transfer type services. * * @author Ben Hale */ abstract class TransferUtils { private static final float KILOBYTE = 1024; private static final float MEGABYTE = 1048576; private static final float SECOND = 1000; private static final NumberFormat formatter = new DecimalFormat("###,###.0"); private TransferUtils() { } public static String getFormattedSize(long size) { StringBuilder sb = new StringBuilder(); float megabytes = size / MEGABYTE; if (megabytes > 1) { sb.append(formatter.format(megabytes)); sb.append(" MB"); } else { float kilobytes = size / KILOBYTE; sb.append(formatter.format(kilobytes)); sb.append(" KB"); } return sb.toString(); } public static String getFormattedTime(long time) { StringBuilder sb = new StringBuilder(); float seconds = time / SECOND; sb.append(formatter.format(seconds)); sb.append(" s"); return sb.toString(); } public static String getFormattedSpeed(long size, long time) { StringBuilder sb = new StringBuilder(); float seconds = time / SECOND; float megabytes = size / MEGABYTE; float megabytesPerSecond = megabytes / seconds; if (megabytesPerSecond > 1) { sb.append(formatter.format(megabytesPerSecond)); sb.append(" MB/s"); } else { float kilobytes = size / KILOBYTE; float kilobytesPerSecond = kilobytes / seconds; sb.append(formatter.format(kilobytesPerSecond)); sb.append(" KB/s"); } return sb.toString(); } } ././@LongLink0000000000000000000000000000017600000000000011571 Lustar rootrootspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aws/ant/DownloadLatest.javaspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/main/java/org/springframework/build/aw0000644000175000017500000000533111434455215033532 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.aws.ant; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.types.FileSet; import org.jets3t.service.S3Service; import org.jets3t.service.S3ServiceException; import org.jets3t.service.model.S3Bucket; /** * A member of the S3 ANT task for dealing with Amazon S3 download behavior. * This operation will use the credentials setup in its parent S3 task tag and * download the latest matching file. * * @author Ben Hale */ public class DownloadLatest extends AbstractS3DownloadOperation { private List fileSets = new ArrayList(1); private File toDir; /** * Adds an optional fileSet to read files from. * @param fileSet The set of files to download */ public void addFileSet(FileSet fileSet) { fileSets.add(fileSet); } /** * Optional parameter that corresponds to the target object directory * @param toDir The target object directory */ public void setToDir(File toDir) { this.toDir = toDir; } /** * Verify that required parameters have been set */ public void init() { if (bucketName == null) { throw new BuildException("bucketName must be set"); } if (fileSets.size() == 0) { throw new BuildException("At least one must be set"); } if (toDir == null) { throw new BuildException("toDir must be set"); } } public void execute(S3Service service) throws S3ServiceException, IOException { processSetToDir(service); } private void processSetToDir(S3Service service) throws S3ServiceException, IOException { S3Bucket bucket = getOperationBucket(); for (FileSet fileSet : fileSets) { S3Scanner scanner = getS3Scanner(bucket, fileSet.mergePatterns(project), getS3SafeDirectory(fileSet .getDir())); List keys = scanner.getQualifiyingKeys(service); Collections.sort(keys); String key = keys.get(keys.size() - 1); if (!key.endsWith("/")) { getFile(service, bucket, key, new File(toDir, key.substring(getS3SafeDirectory(fileSet.getDir()) .length()))); } } } } spring-build-2.7.0.orig/org.springframework.build.aws.ant/src/test/0000755000175000017500000000000011434455215025202 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/test/resources/0000755000175000017500000000000011434455215027214 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/test/resources/.gitignore0000644000175000017500000000000011434455215031172 0ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/test/java/0000755000175000017500000000000011434455215026123 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/src/test/java/.gitignore0000644000175000017500000000000011434455215030101 0ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/.settings/0000755000175000017500000000000011434455215025352 5ustar drazzibdrazzibspring-build-2.7.0.orig/org.springframework.build.aws.ant/.settings/org.eclipse.jdt.core.prefs0000644000175000017500000005236111434455215032343 0ustar drazzibdrazzib#Tue Nov 13 08:42:13 EST 2007 eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 org.eclipse.jdt.core.compiler.compliance=1.5 org.eclipse.jdt.core.compiler.source=1.5 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 org.eclipse.jdt.core.formatter.alignment_for_assignment=0 org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 org.eclipse.jdt.core.formatter.blank_lines_after_package=1 org.eclipse.jdt.core.formatter.blank_lines_before_field=1 org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 org.eclipse.jdt.core.formatter.blank_lines_before_method=1 org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 org.eclipse.jdt.core.formatter.blank_lines_before_package=0 org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false org.eclipse.jdt.core.formatter.comment.format_block_comments=true org.eclipse.jdt.core.formatter.comment.format_header=false org.eclipse.jdt.core.formatter.comment.format_html=true org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true org.eclipse.jdt.core.formatter.comment.format_line_comments=true org.eclipse.jdt.core.formatter.comment.format_source_code=true org.eclipse.jdt.core.formatter.comment.indent_parameter_description=false org.eclipse.jdt.core.formatter.comment.indent_root_tags=false org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=do not insert org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert org.eclipse.jdt.core.formatter.comment.line_length=80 org.eclipse.jdt.core.formatter.compact_else_if=true org.eclipse.jdt.core.formatter.continuation_indentation=2 org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true org.eclipse.jdt.core.formatter.indent_empty_lines=false org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false org.eclipse.jdt.core.formatter.indentation.size=4 org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false org.eclipse.jdt.core.formatter.lineSplit=120 org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true org.eclipse.jdt.core.formatter.tabulation.char=tab org.eclipse.jdt.core.formatter.tabulation.size=4 org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true spring-build-2.7.0.orig/org.springframework.build.aws.ant/.settings/org.eclipse.jdt.ui.prefs0000644000175000017500000000016411434455215032022 0ustar drazzibdrazzib#Tue Nov 13 08:42:13 EST 2007 eclipse.preferences.version=1 formatter_profile=_Spring formatter_settings_version=11 spring-build-2.7.0.orig/project-build/0000755000175000017500000000000011470216467017525 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/par/0000755000175000017500000000000011470216467020307 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/par/package.xml0000644000175000017500000000177511470216467022436 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/par/artifact.xml0000644000175000017500000000477211470216467022640 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/par/publish.xml0000644000175000017500000000503211470216467022477 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/par/quality.xml0000644000175000017500000000136411470216467022525 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/par/default.xml0000644000175000017500000000147711470216467022466 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/par/common.xml0000644000175000017500000000132511470216467022322 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/standard/0000755000175000017500000000000011470216467021325 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/standard/package.xml0000644000175000017500000000136311470216467023445 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/standard/artifact.xml0000644000175000017500000000321311470216467023643 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/standard/publish.xml0000644000175000017500000000136311470216467023520 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/standard/quality.xml0000644000175000017500000000136311470216467023542 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/standard/default.xml0000644000175000017500000000150411470216467023473 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/standard/common.xml0000644000175000017500000000313411470216467023340 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/multi-bundle/0000755000175000017500000000000011470216467022126 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/multi-bundle/package.xml0000644000175000017500000000176311470216467024252 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/multi-bundle/artifact.xml0000644000175000017500000000475011470216467024453 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/multi-bundle/publish.xml0000644000175000017500000000602411470216467024320 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/multi-bundle/quality.xml0000644000175000017500000001230511470216467024341 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/multi-bundle/default.xml0000644000175000017500000000151011470216467024271 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/multi-bundle/common.xml0000644000175000017500000001103011470216467024133 0ustar drazzibdrazzib
]]>
spring-build-2.7.0.orig/project-build/weaving-external/0000755000175000017500000000000011470216467023005 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/weaving-external/package.xml0000644000175000017500000000137311470216467025126 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/weaving-external/artifact.xml0000644000175000017500000000737511470216467025340 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/weaving-external/publish.xml0000644000175000017500000000137311470216467025201 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/weaving-external/quality.xml0000644000175000017500000000467411470216467025232 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/weaving-external/default.xml0000644000175000017500000000151411470216467025154 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/weaving-external/common.xml0000644000175000017500000000314411470216467025021 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/aspect/0000755000175000017500000000000011470216467021004 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/aspect/package.xml0000644000175000017500000000136111470216467023122 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/aspect/artifact.xml0000644000175000017500000000260211470216467023323 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/aspect/publish.xml0000644000175000017500000000136111470216467023175 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/aspect/quality.xml0000644000175000017500000000617411470216467023226 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/aspect/default.xml0000644000175000017500000000150211470216467023150 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/aspect/common.xml0000644000175000017500000000303511470216467023017 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/lib/0000755000175000017500000000000011470216467020273 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/lib/ivy/0000755000175000017500000000000011470216467021102 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/lib/ivy/jets3t.properties0000644000175000017500000000163711470216467024443 0ustar drazzibdrazzib# Copyright 2010 SpringSource # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ## JetS3t Configuration Properties # A full description of all configuration properties can be found at # http://jets3t.s3.amazonaws.com/toolkit/configuration.html # Proxy configuration httpclient.proxy-autodetect=true #httpclient.proxy-host= #httpclient.proxy-port= #httpclient.proxy-user= #httpclient.proxy-password= #httpclient.proxy-domain= spring-build-2.7.0.orig/project-build/lib/ivy/current.version0000644000175000017500000000137311470216467024177 0ustar drazzibdrazzib# Copyright 2010 SpringSource # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ivy.jar= 2.1.0 org.springframework.build.aws.ivy.jar= 1.0.8.RELEASE commons-codec= 1.3.0 commons-httpclient= 3.1.0 commons-logging= 1.1.1 jets3t= 0.7.0 spring-build-2.7.0.orig/project-build/groovy/0000755000175000017500000000000011470216467021052 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/groovy/package.xml0000644000175000017500000000136111470216467023170 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/groovy/artifact.xml0000644000175000017500000000667511470216467023407 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/groovy/publish.xml0000644000175000017500000000136111470216467023243 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/groovy/quality.xml0000644000175000017500000000663711470216467023300 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/groovy/default.xml0000644000175000017500000000150211470216467023216 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/groovy/common.xml0000644000175000017500000000366111470216467023072 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/common/0000755000175000017500000000000011470216467021015 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/common/findbugs-exclude.xml0000644000175000017500000000136411470216467024773 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/common/package.xml0000644000175000017500000000751611470216467023143 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/common/spring-javadoc.css0000644000175000017500000000454011470216467024441 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ .code { border: 1px solid black; background-color: #F4F4F4; padding: 5px; } body { font: 12px Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif; background-color: #fff; color: #333; } /* Link colors */ a { color:#2c7b14; text-decoration:none; } a:hover { text-decoration:underline; } /* Headings */ h1 { font-size:28px; color:#007c00; } /* Table colors */ table { border:none; } td { border:none; border-bottom:1px dotted #ddd; } th { border:none; } .TableHeadingColor th { background-color: #efffcb; background-image: url(resources/TableHeading-background.png); background-repeat: repeat-x; color:#fff; font-size:14px; height:26px; } .TableSubHeadingColor { background: #f7ffee; } .TableRowColor { background: #fff; } .TableRowColor a { border-bottom:none; color:#2c7b14; font-weight:normal; } tr.TableRowColor:hover { background:#eef2e1; } /* Font used in left-hand frame lists */ .FrameTitleFont { font-size: 120%; font-weight:bold; } .FrameTitleFont a { color: #333; } .FrameHeadingFont { font-weight: bold; font-size:95%; } .FrameItemFont { line-height:130%; font-size: 95%; } .FrameItemFont a { color:#333; } .FrameItemFont a:hover { color:#249901; border-bottom:none; text-decoration:underline; } /* Navigation bar fonts and colors */ .NavBarCell1 { background-color:#fff; border:none; } .NavBarCell1Rev { background-color:#e3faa5; border:1px solid #9ad00c; padding:0; margin:0; } .NavBarCell1 a { color:#333; text-decoration:none; } .NavBarFont1Rev { } .NavBarCell2 { border:none; } .NavBarCell2 a { color:#249901; font-size:90%; } .NavBarCell3 { border:none; } /* Override sizes in font tags */ font { font: inherit !important; } spring-build-2.7.0.orig/project-build/common/artifact.xml0000644000175000017500000001164311470216467023341 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/common/common.properties0000644000175000017500000001514711470216467024433 0ustar drazzibdrazzib# Copyright 2010 SpringSource # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Common Properties lib.dir=${spring.build.dir}/lib artifacts.dir=${target.dir}/artifacts target.dir=${basedir}/target ci.build=false natural.name=${ant.project.name} build.stamp=BUILD-${timestamp} bundle.version=${version}.${build.stamp} publish.bucket=repository.springsource.com local.repo.dir=${java.io.tmpdir}/local-repository # Artifact Properties license.dir=${basedir} main.java.dir=${basedir}/src/main/java main.resources.dir=${basedir}/src/main/resources main.output.dir=${target.dir}/classes main.webapp.dir=${basedir}/src/main/webapp # Javadoc Properties javadoc-all.output.dir=${target.dir}/javadoc-all javadoc-api.output.dir=${target.dir}/javadoc-api javadoc.prep.dir=${target.dir}/javadoc-prep javadoc.exclude.package.names= javadoc.stylesheet.file=${spring.build.dir}/common/spring-javadoc.css javadoc.resources.dir=${spring.build.dir}/common/javadoc-resources javadoc.max.memory=128M # JAR Properties implementation.title=${ant.project.name} implementation.version=${bundle.version} jar.output.dir=${artifacts.dir} jar.output.file=${jar.output.dir}/${ant.project.name}.jar source-jar.output.dir=${artifacts.dir} source-jar.output.file=${source-jar.output.dir}/${ant.project.name}-sources.jar # PAR Properties par.output.dir=${artifacts.dir} par.output.file=${par.output.dir}/${ant.project.name}.par par.provided.dir=${target.dir}/par-provided par.provided.bundles.dir=${par.provided.dir}/bundles par.provided.libraries.dir=${par.provided.dir}/libraries par.staging.dir=${target.dir}/par-expanded application.name= application.description= # Web Module Properties web.module.output.dir=${artifacts.dir} web.module.output.file=${web.module.output.dir}/${ant.project.name}.jar web.module.staging.dir=${target.dir}/web-module-expanded web.module.classes.dir=${web.module.staging.dir}/WEB-INF/classes # Library Properties libd.input.file=${basedir}/${ant.project.name}.libd libd.output.dir=${artifacts.dir} libd.output.file=${libd.output.dir}/${ant.project.name}.libd # Resource Properties resource.src.dir=${basedir}/src # WAR Properties war.output.dir=${artifacts.dir} war.output.file=${war.output.dir}/${ant.project.name}.war war.staging.dir=${target.dir}/war-expanded war.classes.dir=${war.staging.dir}/WEB-INF/classes war.lib.dir=${war.staging.dir}/WEB-INF/lib # Compiler Properties org.springframework.build.ant.version=1.1.0.RELEASE org.eclipse.jdt.core.compiler.batch.version=3.6.1 build.compiler=org.eclipse.jdt.core.JDTCompilerAdapter compile.debug=true compile.debug.level=lines,vars,source compiler.args=-enableJavadoc source.version=1.5 target.version=${source.version} # Package Properties copy.to.dir=${package.dist.dir} package.dir=${target.dir}/package-expanded package.basename=${natural.name}-${bundle.version} package.file.name=${package.basename}.zip package.output.dir=${package.dir}/${package.basename} package.output.file=${artifacts.dir}/${package.file.name} package.dist.dir=${package.output.dir}/dist package.lib.dir=${package.output.dir}/lib package.src.dir=${package.output.dir}/src package.docs.dir=${package.output.dir}/docs package.jar.output.file=${ant.project.name}-${bundle.version}.jar package.par.output.file=${ant.project.name}-${bundle.version}.par package.libd.output.file=${ant.project.name}-${bundle.version}.libd package.war.output.file=${ant.project.name}-${bundle.version}.war package.source-jar.output.file=${ant.project.name}-sources-${bundle.version}.jar org.springframework.build.aws.ant.version=3.0.3.RELEASE # AspectJ Properties org.aspectj.tools.version=1.6.6.RELEASE aspectj.x= # Groovy Properties main.groovy.dir=${basedir}/src/main/groovy test.groovy.dir=${basedir}/src/test/groovy org.codehaus.groovy.version=1.6.7 org.apache.commons.cli.version=1.2.0 # Test Properties test.forkmode=perBatch test.java.dir=${basedir}/src/test/java test.resources.dir=${basedir}/src/test/resources test.output.dir=${target.dir}/test-classes test-results.output.dir=${target.dir}/test-results test.vm.args= # Clover Properties clover.db.dir=${clover.output.dir}/db clover.db.file=${clover.db.dir}/clover.db clover.output.dir=${target.dir}/clover clover.staging.dir=${clover.output.dir}/staging main.clover.dir=${clover.staging.dir}/main test.clover.dir=${clover.staging.dir}/test com.springsource.com.cenqua.clover.version=3.0.2 clover.enforce=false clover.coverage=0% # Docbook Properties docbook.dir=${lib.dir}/docbook docbook.target.dir=${target.dir}/docbook org.apache.velocity.docbookframework.dist.version=1.0.0.BUILD-20100902 com.springsource.net.sf.xslthl.version=1.2.0 com.springsource.org.apache.xerces.version=2.8.1 docbook.build.dir=${spring.build.dir}/docbook docbook.output.dir=${target.dir}/${ant.project.name} docbook.staging.dir=${docbook.target.dir}/staging docbook.src.dir=${basedir}/src docbook.images.dir=${basedir}/images docbook.css.dir=${basedir}/css docbook.styles.dir=${basedir}/styles docbook.eclipse.plugin.name=${ant.project.name} docbook.eclipse.plugin.id=${ant.project.name} docbook.eclipse.plugin.provider=SpringSource, a division of VMware, Inc. # Findbugs Properties findbugs.dir=${lib.dir}/findbugs findbugs.exclude.file=${spring.build.dir}/common/findbugs-exclude.xml findbugs.output.dir=${target.dir}/findbugs findbugs.output.file=${findbugs.output.dir}/${ant.project.name}.xml edu.umd.cs.findbugs.version=1.3.7 # Ivy Properties bucket.basename=springframework.org release.type=integration ivy.checksums=sha1 ivy.deliver.revision=${bundle.version} ivy.file=${basedir}/ivy.xml ivy.lib.dir=${lib.dir}/ivy ivy.output.dir=${artifacts.dir} ivy.output.file=${ivy.output.dir}/ivy.xml ivy.settings.file=${spring.build.dir}/common/ivysettings.xml # Maven Properties pom.output.dir=${artifacts.dir} pom.output.file=${pom.output.dir}/pom.xml local.pom.output.file=${basedir}/pom.xml org.apache.maven.ant.version=2.0.10 org.springframework.build.aws.maven.version=2.0.0.RELEASE # Bundlor Properties bundlor.ant.version=1.0.0.RELEASE manifest.template.file=${basedir}/template.mf merge.existing.headers=true fail.on.warnings=true # OSGi Properties org.springframework.build.osgi.version=1.0.0.RELEASE org.eclipse.osgi.version=3.5.0.v20090311-1300 #S3 Properties accessKey= secretKey= spring-build-2.7.0.orig/project-build/common/publish.xml0000644000175000017500000001101311470216467023201 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/common/quality.xml0000644000175000017500000002573211470216467023240 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/common/ivysettings.xml0000644000175000017500000001021611470216467024127 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/common/javadoc-resources/0000755000175000017500000000000011470216467024434 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/common/javadoc-resources/TableHeading-background.png0000644000175000017500000000543111470216467031571 0ustar drazzibdrazzib‰PNG  IHDR$®]›H pHYs  šœ OiCCPPhotoshop ICC profilexÚSgTSé=÷ÞôBKˆ€”KoR RB‹€‘&*! Jˆ!¡ÙQÁEEÈ ˆŽŽ€ŒQ, Š Øä!¢Žƒ£ˆŠÊûá{£kÖ¼÷æÍþµ×>ç¬ó³ÏÀ –H3Q5€ ©BàƒÇÄÆáä.@ $p³d!sý#ø~<<+"À¾xÓ ÀM›À0‡ÿêB™\€„Àt‘8K€@zŽB¦@F€˜&S `ËcbãP-`'æÓ€ø™{[”! ‘ eˆDh;¬ÏVŠEX0fKÄ9Ø-0IWfH°·ÀÎ ² 0Qˆ…){`È##x„™FòW<ñ+®ç*x™²<¹$9E[-qWW.(ÎI+6aaš@.Ây™24àóÌ ‘àƒóýxήÎÎ6޶_-ê¿ÿ"bbãþåÏ«p@át~Ñþ,/³€;€mþ¢%îh^  u÷‹f²@µ éÚWópø~<ß5°j>{‘-¨]cöK'XtÀâ÷ò»oÁÔ(€hƒáÏwÿï?ýG %€fI’q^D$.Tʳ?ÇD *°AôÁ,ÀÁÜÁ ü`6„B$ÄÂBB d€r`)¬‚B(†Í°*`/Ô@4ÀQh†“p.ÂU¸=púažÁ(¼ AÈa!ÚˆbŠX#Ž™…ø!ÁH‹$ ɈQ"K‘5H1RŠT UHò=r9‡\Fº‘;È2‚ü†¼G1”²Q=Ô µC¹¨7„F¢ Ðdt1š ›Ðr´=Œ6¡çЫhÚ>CÇ0Àè3Äl0.ÆÃB±8, “c˱"¬ «Æ°V¬»‰õcϱwEÀ 6wB aAHXLXNØH¨ $4Ú 7 „QÂ'"“¨K´&ºùÄb21‡XH,#Ö/{ˆCÄ7$‰C2'¹I±¤TÒÒFÒnR#é,©›4H#“ÉÚdk²9”, +È…ääÃä3ää!ò[ b@q¤øSâ(RÊjJåå4åe˜2AU£šRݨ¡T5ZB­¡¶R¯Q‡¨4uš9̓IK¥­¢•Óhh÷i¯ètºÝ•N—ÐWÒËéGè—èôw †ƒÇˆg(›gw¯˜L¦Ó‹ÇT071ë˜ç™™oUX*¶*|‘Ê •J•&•*/T©ª¦ªÞª UóUËT©^S}®FU3Sã© Ô–«UªPëSSg©;¨‡ªg¨oT?¤~Yý‰YÃLÃOC¤Q ±_ã¼Æ c³x,!k «†u5Ä&±ÍÙ|v*»˜ý»‹=ª©¡9C3J3W³Ró”f?ã˜qøœtN ç(§—ó~ŠÞï)â)¦4L¹1e\kª–—–X«H«Q«Gë½6®í§¦½E»YûAÇJ'\'GgÎçSÙSݧ §M=:õ®.ªk¥¡»Dw¿n§î˜ž¾^€žLo§Þy½çú}/ýTýmú§õG X³ $Û Î<Å5qo</ÇÛñQC]Ã@C¥a•a—á„‘¹Ñ<£ÕFFŒiÆ\ã$ãmÆmÆ£&&!&KMêMîšRM¹¦)¦;L;LÇÍÌÍ¢ÍÖ™5›=1×2ç›ç›×›ß·`ZxZ,¶¨¶¸eI²äZ¦Yî¶¼n…Z9Y¥XUZ]³F­­%Ö»­»§§¹N“N«žÖgðñ¶É¶©·°åØÛ®¶m¶}agbg·Å®Ã“}º}ý= ‡Ù«Z~s´r:V:ޚΜî?}Åô–é/gXÏÏØ3ã¶Ë)ÄiS›ÓGgg¹sƒóˆ‹‰K‚Ë.—>.›ÆÝȽäJtõq]ázÒõ›³›Âí¨Û¯î6îiî‡ÜŸÌ4Ÿ)žY3sÐÃÈCàQåÑ? Ÿ•0k߬~OCOgµç#/c/‘W­×°·¥wª÷aï>ö>rŸã>ã<7Þ2ÞY_Ì7À·È·ËOÃož_…ßC#ÿdÿzÿѧ€%g‰A[ûøz|!¿Ž?:Ûeö²ÙíAŒ ¹AA‚­‚åÁ­!hÈì­!÷ç˜Î‘Îi…P~èÖÐaæa‹Ã~ '…‡…W†?ŽpˆXÑ1—5wÑÜCsßDúD–DÞ›g1O9¯-J5*>ª.j<Ú7º4º?Æ.fYÌÕXXIlK9.*®6nl¾ßüíó‡ââ ã{˜/È]py¡ÎÂô…§©.,:–@LˆN8”ðA*¨Œ%òw%Ž yÂÂg"/Ñ6шØC\*NòH*Mz’쑼5y$Å3¥,幄'©¼L LÝ›:žšv m2=:½1ƒ’‘qBª!M“¶gêgæfvˬe…²þÅn‹·/•Ék³¬Y- ¶B¦èTZ(×*²geWf¿Í‰Ê9–«ž+Íí̳ÊÛ7œïŸÿíÂá’¶¥†KW-X潬j9²‰Š®Û—Ø(Üxå‡oÊ¿™Ü”´©«Ä¹dÏfÒféæÞ-ž[–ª—æ—n ÙÚ´ ßV´íõöEÛ/—Í(Û»ƒ¶C¹£¿<¸¼e§ÉÎÍ;?T¤TôTúT6îÒݵa×ønÑî{¼ö4ìÕÛ[¼÷ý>ɾÛUUMÕfÕeûIû³÷?®‰ªéø–ûm]­NmqíÇÒý#¶×¹ÔÕÒ=TRÖ+ëGǾþïw- 6 UœÆâ#pDyäé÷ ß÷ :ÚvŒ{¬áÓvg/jBšòšF›Sšû[b[ºOÌ>ÑÖêÞzüGÛœ499â?rýéü§CÏdÏ&žþ¢þË®/~øÕë×Îјѡ—ò—“¿m|¥ýêÀë¯ÛÆÂƾÉx31^ôVûíÁwÜwï£ßOä| (ÿhù±õSЧû“““ÿ˜óüc3-Û cHRMz%€ƒùÿ€éu0ê`:˜o’_ÅFDIDATxÚbäL–ûÏ€˜Ð à T"´ü'd†l†þ'Ña,ÿÿ‘êrTü§‰¡ÿH7”°µCŒ2â00”0Þuø¢IEND®B`‚spring-build-2.7.0.orig/project-build/common/default-ivy-configurations.xml0000644000175000017500000000326511470216467027026 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/common/common.xml0000644000175000017500000002106211470216467023030 0ustar drazzibdrazzib
]]>
spring-build-2.7.0.orig/project-build/.gitignore0000644000175000017500000000003111470216467021507 0ustar drazzibdrazziblib/findbugs lib/docbook spring-build-2.7.0.orig/project-build/library/0000755000175000017500000000000011470216467021171 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/library/package.xml0000644000175000017500000000221111470216467023302 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/library/artifact.xml0000644000175000017500000000341011470216467023506 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/library/publish.xml0000644000175000017500000000613011470216467023361 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/library/quality.xml0000644000175000017500000000214311470216467023403 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/library/default.xml0000644000175000017500000000150311470216467023336 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/library/common.xml0000644000175000017500000000137611470216467023212 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/resource/0000755000175000017500000000000011470216467021354 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/resource/package.xml0000644000175000017500000000220611470216467023471 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/resource/artifact.xml0000644000175000017500000000304611470216467023676 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/resource/publish.xml0000644000175000017500000000575211470216467023555 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/resource/quality.xml0000644000175000017500000000214411470216467023567 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/resource/default.xml0000644000175000017500000000150411470216467023522 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/resource/common.xml0000644000175000017500000000137711470216467023376 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/weaving/0000755000175000017500000000000011470216467021165 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/weaving/package.xml0000644000175000017500000000136211470216467023304 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/weaving/artifact.xml0000644000175000017500000000520311470216467023504 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/weaving/publish.xml0000644000175000017500000000136211470216467023357 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/weaving/quality.xml0000644000175000017500000000336511470216467023406 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/weaving/default.xml0000644000175000017500000000150311470216467023332 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/weaving/common.xml0000644000175000017500000000345611470216467023207 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/docbook/0000755000175000017500000000000011470216467021145 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/docbook/package.xml0000644000175000017500000000206211470216467023262 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/docbook/documentation.xml0000644000175000017500000002223311470216467024542 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/docbook/css/0000755000175000017500000000000011470216467021735 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/docbook/css/html/0000755000175000017500000000000011470216467022701 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/docbook/css/html/stylesheet.css0000644000175000017500000000257511470216467025615 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ @IMPORT url("highlight.css"); html { padding: 0pt; margin: 0pt; } body { margin-left: 10%; margin-right: 10%; font-family: Arial, Sans-serif; } div { margin: 0pt; } p { text-align: justify; } hr { border: 1px solid gray; background: gray; } h1,h2,h3,h4 { color: #234623; font-family: Arial, Sans-serif; } pre { line-height: 1.0; color: black; } pre.programlisting { font-size: 10pt; padding: 7pt 3pt; border: 1pt solid black; background: #eeeeee; clear: both; } div.table { margin: 1em; padding: 0.5em; text-align: center; } div.table table { display: table; width: 100%; } div.table td { padding-left: 7px; padding-right: 7px; } spring-build-2.7.0.orig/project-build/docbook/css/html/highlight.css0000644000175000017500000000161711470216467025367 0ustar drazzibdrazzib/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ .hl-keyword { color: #7F0055; font-weight: bold; } .hl-comment { color: #3F5F5F; font-style: italic; } .hl-multiline-comment { color: #3F5FBF; font-style: italic; } .hl-tag { color: #3F7F7F; } .hl-attribute { color: #7F007F; } .hl-value { color: #2A00FF; } .hl-string { color: #2A00FF; }spring-build-2.7.0.orig/project-build/docbook/publish.xml0000644000175000017500000000304511470216467023337 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/docbook/default.xml0000644000175000017500000000145211470216467023315 0ustar drazzibdrazzib spring-build-2.7.0.orig/project-build/docbook/styles/0000755000175000017500000000000011470216467022470 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/docbook/styles/html/0000755000175000017500000000000011470216467023434 5ustar drazzibdrazzibspring-build-2.7.0.orig/project-build/docbook/styles/html/custom.xsl0000644000175000017500000001052511470216467025501 0ustar drazzibdrazzib 1 0 1 images/ .gif 120 images/callouts/ .gif css/stylesheet.css text/css book toc,title text-align: left 1 Begin Google Analytics code End Google Analytics code spring-build-2.7.0.orig/project-build/docbook/styles/html/titlepage.xml0000644000175000017500000000307211470216467026136 0ustar drazzibdrazzib <subtitle/> <corpauthor/> <authorgroup/> <author/> <mediaobject/> <othercredit/> <productname/> <releaseinfo/> <copyright/> <pubdate/> <revision/> <revhistory/> <abstract/> </t:titlepage-content> <t:titlepage-content t:side="verso"> <legalnotice/> </t:titlepage-content> <t:titlepage-separator> <hr/> </t:titlepage-separator> <t:titlepage-before t:side="recto"> </t:titlepage-before> <t:titlepage-before t:side="verso"> </t:titlepage-before> </t:titlepage> </t:templates> ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/project-build/docbook/styles/pdf/�������������������������������������������0000755�0001750�0001750�00000000000�11470216467�023241� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/project-build/docbook/styles/pdf/custom.xsl���������������������������������0000644�0001750�0001750�00000060715�11470216467�025314� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2010 SpringSource Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xslthl="http://xslthl.sf.net" exclude-result-prefixes="xslthl" version='1.0'> <!-- Use nice graphics for admonitions --> <xsl:param name="admon.graphics">'1'</xsl:param> <xsl:param name="admon.graphics.path">@file.prefix@@dbf.xsl@/images/</xsl:param> <xsl:param name="draft.watermark.image" select="'@file.prefix@@dbf.xsl@/images/draft.png'"/> <xsl:param name="paper.type" select="'@paper.type@'"/> <xsl:param name="page.margin.top" select="'1cm'"/> <xsl:param name="region.before.extent" select="'1cm'"/> <xsl:param name="body.margin.top" select="'1.5cm'"/> <xsl:param name="body.margin.bottom" select="'1.5cm'"/> <xsl:param name="region.after.extent" select="'1cm'"/> <xsl:param name="page.margin.bottom" select="'1cm'"/> <xsl:param name="title.margin.left" select="'0cm'"/> <!-- Leave image paths as relative when navigating XInclude --> <xsl:param name="keep.relative.image.uris" select="1"/> <!--################################################### Header and Footer control ################################################### --> <!-- Number of levels of sections to include in markers (for running headings/footings). Default is 2. --> <xsl:param name="marker.section.level">1</xsl:param> <!-- Remove rules from top and bottom of the page --> <xsl:param name="header.rule" select="0"></xsl:param> <xsl:param name="footer.rule" select="0"></xsl:param> <!-- More space in the center header for long text <xsl:attribute-set name="header.content.properties"> <xsl:attribute name="font-family"> <xsl:value-of select="$body.font.family"/> </xsl:attribute> <xsl:attribute name="margin-left">-5em</xsl:attribute> <xsl:attribute name="margin-right">-5em</xsl:attribute> </xsl:attribute-set> --> <!--################################################### Table of Contents ################################################### --> <xsl:param name="generate.toc"> book toc,title </xsl:param> <!-- Show only Sections up to level 1 in the TOCs --> <xsl:param name="toc.section.depth">1</xsl:param> <!--################################################### Custom Header and Footer ################################################### --> <!-- pageclass There is a specific pageclass value for each type of page design that might be needed. For example, an index might be two-column layout while the rest of the book is single column. Each pageclass has a set of FO simple-page-masters defined for it. The following pageclass values are available by default, but this list could be extended by adding custom page masters. titlepage Division title page, including set, book, part. lot Page with a list of titles, including book table of contents, list of figures, etc. front Front matter pages, including preface, dedication body Main content pages back Back matter pages, including appendix, glossary, etc. index Alphabetical book-style index sequence Within a pageclass, the sequence of pages can have different page designs. For example, the first page of sequence might omit the running header so it will not detract from the main title. The enumerated sequence values are: first First page of a page class. odd Odd-numbered pages in the page class. even Even-numbered pages. blank Blank page at end of sequence, to even out page count. If the output format is single-sided, then odd and even pages should have the same design, and the blank page is not called upon. --> <xsl:template name="header.content"> <xsl:param name="pageclass" select="''"/> <xsl:param name="sequence" select="''"/> <xsl:param name="position" select="''"/> <xsl:param name="gentext-key" select="''"/> <xsl:variable name="ProductName"> <xsl:choose> <xsl:when test="//productname"> <xsl:value-of select="//productname"/><xsl:text> </xsl:text> </xsl:when> <xsl:otherwise> <xsl:text>please define productname in your docbook file!</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="TitleAbbrev"> <xsl:choose> <xsl:when test="//titleabbrev"> <xsl:value-of select="//titleabbrev"/><xsl:text> </xsl:text> </xsl:when> <xsl:otherwise> <xsl:text>please define titleabbrev in your docbook file!</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <!-- $double.sided can be 0 or 1, meaning false or true respectively --> <!-- pageclass can be titlepage, lot, front, body, back, index --> <!-- sequence can be first, odd, even, blank --> <!-- position can be left, center, right --> <xsl:choose> <xsl:when test="$double.sided != 0"> <xsl:choose> <xsl:when test="$pageclass='titlepage'"><!-- nop --></xsl:when> <xsl:when test="$pageclass='lot'"> <!-- nop --></xsl:when> <xsl:when test="$pageclass='front' or $pageclass='body'"> <xsl:choose> <xsl:when test="$sequence='first' or $sequence='odd'"> <xsl:choose> <xsl:when test="$position='left'"> <xsl:apply-templates select="." mode="titleabbrev.markup"/> <!-- chapter header --> </xsl:when> <xsl:when test="$position='center'"> <!-- <xsl:value-of select="$TitleAbbrev"/> --> </xsl:when> <xsl:when test="$position='right'"> <fo:page-number/> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="$sequence='even' or $sequence='blank'"> <xsl:choose> <xsl:when test="$position='left'"> <fo:page-number/> </xsl:when> <xsl:when test="$position='center'"> <!-- <fo:retrieve-marker retrieve-class-name="section.head.marker" retrieve-position="first-including-carryover" retrieve-boundary="page-sequence"/> --> </xsl:when> <xsl:when test="$position='right'"> <xsl:value-of select="$TitleAbbrev"/> </xsl:when> </xsl:choose> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="$pageclass='back'"> <!-- nop --></xsl:when> <xsl:when test="$pageclass='index'"> <!-- nop --></xsl:when> <xsl:otherwise> <!-- nop --></xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="$double.sided = 0"> <xsl:choose> <xsl:when test="$pageclass='titlepage'"><!-- nop --></xsl:when> <xsl:when test="$pageclass='lot'"> <!-- nop --></xsl:when> <xsl:when test="$pageclass='front' or $pageclass='body'"> <xsl:choose> <xsl:when test="$sequence='first' or $sequence='odd' or $sequence='even' or $sequence='blank'"> <xsl:choose> <xsl:when test="$position='left'"> <xsl:apply-templates select="." mode="titleabbrev.markup"/> <!-- chapter header --> </xsl:when> <xsl:when test="$position='center'"> <!-- <xsl:value-of select="$TitleAbbrev"/> --> </xsl:when> <xsl:when test="$position='right'"> <fo:page-number/> </xsl:when> </xsl:choose> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="$pageclass='back'"> <!-- nop --></xsl:when> <xsl:when test="$pageclass='index'"> <!-- nop --></xsl:when> <xsl:otherwise> <!-- nop --></xsl:otherwise> </xsl:choose> </xsl:when> </xsl:choose> </xsl:template> <!--################################################### Custom Footer ################################################### --> <xsl:template name="footer.content"> <xsl:param name="pageclass" select="''"/> <xsl:param name="sequence" select="''"/> <xsl:param name="position" select="''"/> <xsl:param name="gentext-key" select="''"/> <xsl:variable name="Version"> <xsl:choose> <xsl:when test="//releaseinfo"> <xsl:value-of select="//releaseinfo"/> </xsl:when> <xsl:otherwise> <!-- nop --> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="TitleAbbrev"> <xsl:choose> <xsl:when test="//titleabbrev"> <xsl:value-of select="//titleabbrev"/><xsl:text> </xsl:text> </xsl:when> <xsl:otherwise> <xsl:text>please define titleabbrev in your docbook file!</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <!-- $double.sided can be 0 or 1, meaning false or true respectively --> <!-- pageclass can be titlepage, lot, front, body, back, index --> <!-- sequence can be first, odd, even, blank --> <!-- position can be left, center, right --> <xsl:choose> <xsl:when test="$double.sided != 0"> <xsl:choose> <xsl:when test="$pageclass='titlepage'"> <!-- nop --></xsl:when> <xsl:when test="$pageclass='lot' or $pageclass='front' or $pageclass='body'"> <xsl:choose> <xsl:when test="$pageclass!='titlepage' and ($sequence='first' or $sequence='odd')"> <xsl:choose> <xsl:when test="$position='left'"> <xsl:value-of select="$Version"/> </xsl:when> <xsl:when test="$position='center'"> <!-- <xsl:value-of select="$TitleAbbrev"/> <fo:retrieve-marker retrieve-class-name="section.head.marker" retrieve-position="first-including-carryover" retrieve-boundary="page-sequence"/> --> </xsl:when> <xsl:when test="$position='right'"> <fo:page-number/> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="$sequence='even' or $sequence='blank'"> <xsl:choose> <xsl:when test="$position='left'"> <fo:page-number/> </xsl:when> <xsl:when test="$position='center'"> <!-- <xsl:value-of select="$TitleAbbrev"/> --> </xsl:when> <xsl:when test="$position='right'"> <xsl:apply-templates select="." mode="titleabbrev.markup"/> <!-- chapter header --> </xsl:when> </xsl:choose> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="$pageclass='back'"> <!-- nop --></xsl:when> <xsl:when test="$pageclass='index'"> <!-- nop --></xsl:when> <xsl:otherwise> <!-- nop --></xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="$double.sided = 0"> <xsl:choose> <xsl:when test="$pageclass='titlepage'"><!-- nop --></xsl:when> <xsl:when test="$pageclass='lot'"> <!-- nop --></xsl:when> <xsl:when test="$pageclass='front' or $pageclass='body'"> <xsl:choose> <xsl:when test="$sequence='first' or $sequence='odd' or $sequence='even' or $sequence='blank'"> <xsl:choose> <xsl:when test="$position='left'"> <xsl:value-of select="$Version"/> </xsl:when> <xsl:when test="$position='center'"> <fo:retrieve-marker retrieve-class-name="section.head.marker" retrieve-position="first-including-carryover" retrieve-boundary="page-sequence"/> </xsl:when> <xsl:when test="$position='right'"> <fo:page-number/> </xsl:when> </xsl:choose> </xsl:when> </xsl:choose> </xsl:when> <xsl:when test="$pageclass='back'"> <!-- nop --></xsl:when> <xsl:when test="$pageclass='index'"> <!-- nop --></xsl:when> <xsl:otherwise> <!-- nop --></xsl:otherwise> </xsl:choose> </xsl:when> </xsl:choose> </xsl:template> <xsl:template match="processing-instruction('hard-pagebreak')"> <fo:block break-before='page'/> </xsl:template> <!--################################################### Extensions ################################################### --> <!-- These extensions are required for table printing and other stuff --> <xsl:param name="use.extensions">1</xsl:param> <xsl:param name="tablecolumns.extension">0</xsl:param> <xsl:param name="callout.extensions">1</xsl:param> <xsl:param name="fop.extensions">1</xsl:param> <!--################################################### Paper & Page Size ################################################### --> <!-- Paper type, no headers on blank pages, no double sided printing --> <xsl:param name="double.sided">1</xsl:param> <xsl:param name="headers.on.blank.pages">1</xsl:param> <xsl:param name="footers.on.blank.pages">1</xsl:param> <!--################################################### Fonts & Styles ################################################### --> <xsl:param name="alignment">left</xsl:param> <xsl:param name="hyphenate">false</xsl:param> <xsl:attribute-set name="footer.content.properties"> <xsl:attribute name="font-family"> <xsl:value-of select="$body.fontset"/> </xsl:attribute> </xsl:attribute-set> <!-- Default Font size --> <xsl:param name="body.font.master">12</xsl:param> <xsl:param name="body.font.small">8</xsl:param> <!-- Line height in body text --> <xsl:param name="line-height">1.2</xsl:param> <!-- Chapter title size --> <xsl:attribute-set name="chapter.titlepage.recto.style"> <xsl:attribute name="text-align">left</xsl:attribute> <xsl:attribute name="font-weight">bold</xsl:attribute> <xsl:attribute name="font-size"> <xsl:value-of select="$body.font.master * 1.8"/> <xsl:text>pt</xsl:text> </xsl:attribute> </xsl:attribute-set> <!-- Why is the font-size for chapters hardcoded in the XSL FO templates? Let's remove it, so this sucker can use our attribute-set only... --> <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> <xsl:call-template name="component.title"> <xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/> </xsl:call-template> </fo:block> </xsl:template> <!-- Sections 1, 2 and 3 titles have a small bump factor and padding --> <xsl:attribute-set name="section.title.level1.properties"> <xsl:attribute name="space-before.optimum">0.8em</xsl:attribute> <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute> <xsl:attribute name="font-size"> <xsl:value-of select="$body.font.master * 1.5"/> <xsl:text>pt</xsl:text> </xsl:attribute> <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute> <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute> <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="section.title.level2.properties"> <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute> <xsl:attribute name="space-before.minimum">0.6em</xsl:attribute> <xsl:attribute name="space-before.maximum">0.6em</xsl:attribute> <xsl:attribute name="font-size"> <xsl:value-of select="$body.font.master * 1.25"/> <xsl:text>pt</xsl:text> </xsl:attribute> <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute> <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute> <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="section.title.level3.properties"> <xsl:attribute name="space-before.optimum">0.4em</xsl:attribute> <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute> <xsl:attribute name="space-before.maximum">0.4em</xsl:attribute> <xsl:attribute name="font-size"> <xsl:value-of select="$body.font.master * 1.0"/> <xsl:text>pt</xsl:text> </xsl:attribute> <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute> <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute> <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute> </xsl:attribute-set> <!-- Use code syntax highlighting --> <xsl:param name="highlight.source" select="1"/> <xsl:param name="highlight.default.language" select="xml" /> <xsl:template match='xslthl:keyword'> <fo:inline font-weight="bold" color="#7F0055"><xsl:apply-templates/></fo:inline> </xsl:template> <xsl:template match='xslthl:comment'> <fo:inline font-style="italic" color="#3F5F5F"><xsl:apply-templates/></fo:inline> </xsl:template> <xsl:template match='xslthl:oneline-comment'> <fo:inline font-style="italic" color="#3F5F5F"><xsl:apply-templates/></fo:inline> </xsl:template> <xsl:template match='xslthl:multiline-comment'> <fo:inline font-style="italic" color="#3F5FBF"><xsl:apply-templates/></fo:inline> </xsl:template> <xsl:template match='xslthl:tag'> <fo:inline color="#3F7F7F"><xsl:apply-templates/></fo:inline> </xsl:template> <xsl:template match='xslthl:attribute'> <fo:inline color="#7F007F"><xsl:apply-templates/></fo:inline> </xsl:template> <xsl:template match='xslthl:value'> <fo:inline color="#2A00FF"><xsl:apply-templates/></fo:inline> </xsl:template> <xsl:template match='xslthl:string'> <fo:inline color="#2A00FF"><xsl:apply-templates/></fo:inline> </xsl:template> <!--################################################### Tables ################################################### --> <!-- Some padding inside tables --> <xsl:attribute-set name="table.cell.padding"> <xsl:attribute name="padding-left">4pt</xsl:attribute> <xsl:attribute name="padding-right">4pt</xsl:attribute> <xsl:attribute name="padding-top">4pt</xsl:attribute> <xsl:attribute name="padding-bottom">4pt</xsl:attribute> </xsl:attribute-set> <!-- Only hairlines as frame and cell borders in tables --> <xsl:param name="table.frame.border.thickness">0.1pt</xsl:param> <xsl:param name="table.cell.border.thickness">0.1pt</xsl:param> <!--################################################### Labels ################################################### --> <!-- Label Chapters and Sections (numbering) --> <xsl:param name="chapter.autolabel" select="1"/> <xsl:param name="section.autolabel" select="1"/> <xsl:param name="section.autolabel.max.depth" select="1"/> <xsl:param name="section.label.includes.component.label" select="1"/> <xsl:param name="table.footnote.number.format" select="'1'"/> <!--################################################### Programlistings ################################################### --> <!-- Verbatim text formatting (programlistings) --> <xsl:attribute-set name="monospace.verbatim.properties"> <xsl:attribute name="font-size"> <xsl:value-of select="$body.font.small * 0.90"/> <xsl:text>pt</xsl:text> </xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="verbatim.properties"> <xsl:attribute name="space-before.minimum">1em</xsl:attribute> <xsl:attribute name="space-before.optimum">1em</xsl:attribute> <xsl:attribute name="space-before.maximum">1em</xsl:attribute> <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute> <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute> <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute> <xsl:attribute name="border-color">#444444</xsl:attribute> <xsl:attribute name="border-style">solid</xsl:attribute> <xsl:attribute name="border-width">0.1pt</xsl:attribute> <xsl:attribute name="padding-top">0.5em</xsl:attribute> <xsl:attribute name="padding-left">0.5em</xsl:attribute> <xsl:attribute name="padding-right">0.5em</xsl:attribute> <xsl:attribute name="padding-bottom">0.5em</xsl:attribute> <xsl:attribute name="margin-left">0em</xsl:attribute> <xsl:attribute name="margin-right">0em</xsl:attribute> </xsl:attribute-set> <!-- Shade (background) programlistings --> <xsl:param name="shade.verbatim">1</xsl:param> <xsl:attribute-set name="shade.verbatim.style"> <xsl:attribute name="background-color">#F0F0F0</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="list.block.spacing"> <xsl:attribute name="space-before.optimum">0.1em</xsl:attribute> <xsl:attribute name="space-before.minimum">0.1em</xsl:attribute> <xsl:attribute name="space-before.maximum">0.1em</xsl:attribute> <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute> <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute> <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="abstract.properties"> <xsl:attribute name="font-weight">normal</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="example.properties"> <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute> <xsl:attribute name="space-before.optimum">0.5em</xsl:attribute> <xsl:attribute name="space-before.maximum">0.5em</xsl:attribute> <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute> <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute> <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute> <xsl:attribute name="keep-together.within-column">always</xsl:attribute> </xsl:attribute-set> <!--################################################### Title information for Figures, Examples etc. ################################################### --> <xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing"> <xsl:attribute name="font-weight">normal</xsl:attribute> <xsl:attribute name="font-style">italic</xsl:attribute> <xsl:attribute name="font-size"> <xsl:value-of select="$body.font.master"/> <xsl:text>pt</xsl:text> </xsl:attribute> <xsl:attribute name="hyphenate">false</xsl:attribute> <xsl:attribute name="space-before.minimum">0.1em</xsl:attribute> <xsl:attribute name="space-before.optimum">0.1em</xsl:attribute> <xsl:attribute name="space-before.maximum">0.1em</xsl:attribute> </xsl:attribute-set> <!--################################################### Callouts ################################################### --> <!-- don't use images for callouts --> <xsl:param name="callout.graphics">0</xsl:param> <xsl:param name="callout.unicode">1</xsl:param> <!-- Place callout marks at this column in annotated areas --> <xsl:param name="callout.defaultcolumn">90</xsl:param> <!--################################################### Misc ################################################### --> <!-- Placement of titles --> <xsl:param name="formal.title.placement"> figure after example after equation before table before procedure before </xsl:param> <!-- Format Variable Lists as Blocks (prevents horizontal overflow) --> <xsl:param name="variablelist.as.blocks">1</xsl:param> <xsl:param name="body.start.indent">0pt</xsl:param> <!-- Remove "Chapter" from the Chapter titles... --> <xsl:param name="local.l10n.xml" select="document('')"/> <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> <l:l10n language="en"> <l:context name="title-numbered"> <l:template name="chapter" text="%n. %t"/> <l:template name="section" text="%n %t"/> </l:context> <l:context name="title"> <l:template name="example" text="Example %n %t"/> </l:context> </l:l10n> </l:i18n> <!--################################################### colored and hyphenated links ################################################### --> <xsl:template match="ulink"> <fo:basic-link external-destination="{@url}" xsl:use-attribute-sets="xref.properties" text-decoration="underline" color="blue"> <xsl:choose> <xsl:when test="count(child::node())=0"> <xsl:value-of select="@url"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates/> </xsl:otherwise> </xsl:choose> </fo:basic-link> </xsl:template> <xsl:template match="link"> <fo:basic-link internal-destination="{@linkend}" xsl:use-attribute-sets="xref.properties" text-decoration="underline" color="blue"> <xsl:choose> <xsl:when test="count(child::node())=0"> <xsl:value-of select="@linkend"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates/> </xsl:otherwise> </xsl:choose> </fo:basic-link> </xsl:template> </xsl:stylesheet>���������������������������������������������������spring-build-2.7.0.orig/project-build/docbook/styles/pdf/titlepage.xml������������������������������0000644�0001750�0001750�00000006260�11470216467�025745� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2010 SpringSource Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!DOCTYPE t:templates [ <!ENTITY hsize0 "10pt"> <!ENTITY hsize1 "12pt"> <!ENTITY hsize2 "14.4pt"> <!ENTITY hsize3 "17.28pt"> <!ENTITY hsize4 "20.736pt"> <!ENTITY hsize5 "24.8832pt"> <!ENTITY hsize0space "7.5pt"> <!-- 0.75 * hsize0 --> <!ENTITY hsize1space "9pt"> <!-- 0.75 * hsize1 --> <!ENTITY hsize2space "10.8pt"> <!-- 0.75 * hsize2 --> <!ENTITY hsize3space "12.96pt"> <!-- 0.75 * hsize3 --> <!ENTITY hsize4space "15.552pt"> <!-- 0.75 * hsize4 --> <!ENTITY hsize5space "18.6624pt"> <!-- 0.75 * hsize5 --> ]> <t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0" xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <t:titlepage t:element="book" t:wrapper="fo:block"> <t:titlepage-content t:side="recto"> <title t:named-template="division.title" param:node="ancestor-or-self::book[1]" text-align="center" font-size="&hsize5;" space-before="&hsize5space;" font-weight="bold" font-family="{$title.fontset}" /> <subtitle text-align="center" font-size="&hsize4;" space-before="&hsize4space;" font-family="{$title.fontset}" /> <corpauthor space-before="0.5em" font-size="&hsize2;" /> <authorgroup space-before="0.5em" font-size="&hsize2;" /> <author space-before="0.5em" font-size="&hsize2;"/> <mediaobject space-before="2em" space-after="2em"/> <releaseinfo space-before="5em" font-size="&hsize2;"/> <othercredit space-before="2em" font-weight="normal" font-size="8"/> <pubdate space-before="0.5em"/> <revision space-before="0.5em"/> <revhistory space-before="0.5em"/> <abstract space-before="0.5em" text-align="start" margin-left="0.1in" margin-right="0.1in" font-family="{$body.fontset}" /> </t:titlepage-content> <t:titlepage-content t:side="verso" text-align="start"> <copyright space-before="1.5em"/> <legalnotice space-before="15em"/> </t:titlepage-content> <t:titlepage-separator> </t:titlepage-separator> <t:titlepage-before t:side="recto"> </t:titlepage-before> <t:titlepage-before t:side="verso"> </t:titlepage-before> </t:titlepage> <!-- ==================================================================== --> </t:templates> ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/project-build/docbook/common.xml��������������������������������������������0000644�0001750�0001750�00000001323�11470216467�023156� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2010 SpringSource Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project name="common-docbook"> <import file="../common/common.xml"/> </project>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/project-build/war/����������������������������������������������������������0000755�0001750�0001750�00000000000�11470216467�020316� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/project-build/war/package.xml�����������������������������������������������0000644�0001750�0001750�00000001775�11470216467�022445� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2010 SpringSource Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project name="package-war"> <import file="common.xml"/> <import file="../common/package.xml"/> <!-- Macros --> <macrodef name="dist-jar"> <attribute name="output.dir" default="${package.dist.dir}"/> <sequential> <mkdir dir="@{output.dir}"/> <copy file="${war.output.file}" tofile="@{output.dir}/${package.war.output.file}"/> </sequential> </macrodef> </project>���spring-build-2.7.0.orig/project-build/war/artifact.xml����������������������������������������������0000644�0001750�0001750�00000007452�11470216467�022645� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2010 SpringSource Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project name="artifact-war" xmlns:ivy="antlib:org.apache.ivy.ant" xmlns:bundlor="antlib:com.springsource.bundlor.ant"> <import file="common.xml"/> <import file="../common/artifact.xml"/> <!-- Main targets --> <target name="jar" depends="ivy.init, resolve.compile, compile.init, jar.init" description="Creates a WAR file containing the output of a compilation of the source tree."> <delete quiet="true" file="${ivy.output.file}"/> <mkdir dir="${ivy.output.dir}"/> <delete quiet="true" file="${war.output.file}"/> <mkdir dir="${war.output.dir}"/> <delete quiet="true" file="${source-jar.output.file}"/> <mkdir dir="${source-jar.output.dir}"/> <copy todir="${war.staging.dir}"> <fileset dir="${main.webapp.dir}" erroronmissingdir="false"/> </copy> <compile classpath.id="compile.classpath" input.dir="${main.java.dir}" output.dir="${war.classes.dir}" resources.dir="${main.resources.dir}"/> <ivy:retrieve resolveId="compile.classpath" conf="compile,runtime" type="jar" pattern="${war.lib.dir}/[artifact]-[revision].[ext]" log="download-only"/> <antcall target="bundlor"/> <jar destfile="${war.output.file}" basedir="${war.staging.dir}" index="true" filesetmanifest="merge"> <manifest> <attribute name="Bundle-Creator" value="${user.name}"/> <attribute name="Implementation-Title" value="${implementation.title}"/> <attribute name="Implementation-Version" value="${implementation.version}"/> </manifest> </jar> <jar destfile="${source-jar.output.file}" basedir="${main.java.dir}" index="true"/> <ivy:publish resolver="integration" pubdate="${timestamp}" status="${release.type}"> <artifacts pattern="${ivy.output.dir}/[artifact].[ext]"/> <artifacts pattern="${war.output.dir}/[artifact].[ext]"/> <artifacts pattern="${source-jar.output.dir}/[artifact].[ext]"/> <artifacts pattern="${license.dir}/[artifact].[ext]"/> </ivy:publish> </target> <!-- Other targets --> <target name="compile.init" depends="ivy.init"> <ivy:cachepath resolveId="spring.ant.classpath" pathid="spring.ant.classpath" organisation="org.springframework.build" module="org.springframework.build.ant" revision="${org.springframework.build.ant.version}" conf="runtime" type="jar" inline="true" log="download-only"/> <ivy:cachepath resolveId="ecj.classpath" pathid="ecj.classpath" organisation="org.eclipse.jdt" module="com.springsource.org.eclipse.jdt.core.compiler.batch" revision="${org.eclipse.jdt.core.compiler.batch.version}" conf="runtime" type="jar" inline="true" log="download-only"/> <taskdef resource="org/springframework/build/ant/antlib.xml" uri="antlib:org.springframework.build"> <classpath> <path refid="spring.ant.classpath"/> <path refid="ecj.classpath"/> </classpath> </taskdef> </target> <target name="bundlor" depends="bundlor.init" unless="disable.bundlor"> <bundlor:bundlor inputPath="${war.staging.dir}" outputPath="${war.staging.dir}" bundleVersion="${bundle.version}" manifestTemplatePath="${manifest.template.file}" failOnWarnings="${fail.on.warnings}"> <propertyset refid="bundlor.properties"/> <propertyset> <propertyref builtin="all"/> </propertyset> </bundlor:bundlor> </target> </project>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/project-build/war/publish.xml�����������������������������������������������0000644�0001750�0001750�00000005441�11470216467�022512� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2010 SpringSource Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project name="publish-war" xmlns:ivy="antlib:org.apache.ivy.ant" xmlns:maven="antlib:org.apache.maven.artifact.ant"> <import file="common.xml"/> <import file="../common/publish.xml"/> <target name="publish-ivy" depends="ivy.init, resolve"> <delete quiet="true" file="${ivy.output.file}"/> <mkdir dir="${ivy.output.dir}" /> <ivy:publish resolver="${publication.resolver.prefix}-bundle-publish" pubdate="${timestamp}" status="${release.type}"> <artifacts pattern="${war.output.dir}/[artifact].[ext]"/> <artifacts pattern="${source-jar.output.dir}/[artifact].[ext]"/> <artifacts pattern="${ivy.output.dir}/[artifact].[ext]"/> <artifacts pattern="${license.dir}/[artifact].[ext]"/> </ivy:publish> </target> <target name="publish-maven" depends="create.pom, snapshot.pom, maven.init" unless="local.build"> <maven:deploy file="${war.output.file}"> <remoteRepository url="s3://${publish.bucket}/maven/bundles/${adjusted.release.type}"> <authentication username="${accessKey}" passphrase="${secretKey}"/> </remoteRepository> <pom file="${pom.output.file}"/> <attach file="${source-jar.output.file}" classifier="sources"/> </maven:deploy> </target> <target name="publish-maven-central" depends="maven.init"> <property name="maven.central.repository" value="s3://maven.springframework.org/${adjusted.release.type}"/> <maven:deploy file="${war.output.file}"> <remoteRepository url="${maven.central.repository}"> <authentication username="${accessKey}" passphrase="${secretKey}"/> </remoteRepository> <pom file="${local.pom.output.file}"/> <attach file="${source-jar.output.file}" classifier="sources"/> </maven:deploy> </target> <target name="install-maven" depends="create.pom, snapshot.pom, maven.init"> <maven:install file="${war.output.file}"> <pom file="${pom.output.file}"/> <attach file="${source-jar.output.file}" classifier="sources"/> </maven:install> </target> <target name="install-maven-central" depends="maven.init"> <maven:install file="${war.output.file}"> <pom file="${local.pom.output.file}"/> <attach file="${source-jar.output.file}" classifier="sources"/> </maven:install> </target> </project>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/project-build/war/quality.xml�����������������������������������������������0000644�0001750�0001750�00000006132�11470216467�022532� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2010 SpringSource Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project name="quality-war" xmlns:ivy="antlib:org.apache.ivy.ant" xmlns:osgi="antlib:org.springframework.build.osgi"> <import file="common.xml"/> <import file="../common/quality.xml"/> <target name="osgi-validate" depends="ivy.init, osgi.init" description="Validates that a bundle can resolve against it's dependencies."> <ivy:cachepath resolveId="osgi.optional.classpath" pathid="osgi.optional.classpath" conf="compile,optional,provided,dm-server-provided" type="jar" log="download-only"/> <osgi:validate bundlePath="${war.output.file}"> <equinoxPath refid="equinox.classpath"/> <supportingBundlesPath refid="osgi.optional.classpath"/> </osgi:validate> <ivy:cachepath resolveId="osgi.compile.classpath" pathid="osgi.compile.classpath" conf="compile,provided,dm-server-provided" type="jar" log="download-only"/> <osgi:validate bundlePath="${war.output.file}"> <equinoxPath refid="equinox.classpath"/> <supportingBundlesPath refid="osgi.compile.classpath"/> </osgi:validate> </target> <!-- Other targets --> <target name="test.do" depends="ivy.init, resolve.test, compile.init, test.init" if="test.exists"> <path id="test.compile.classpath"> <pathelement location="${war.classes.dir}"/> <path refid="compile.classpath"/> <path refid="test.classpath"/> </path> <test-compile classpath.id="test.compile.classpath" input.dir="${test.java.dir}" output.dir="${test.output.dir}" resources.dir="${test.resources.dir}"/> <path id="test.run.classpath"> <pathelement location="${war.classes.dir}"/> <pathelement location="${test.output.dir}"/> <path refid="compile.classpath"/> <path refid="test.classpath"/> <path refid="runtime.classpath"/> </path> <test-run classpath.id="test.run.classpath"/> </target> <target name="findbugs.do" depends="ivy.init, resolve.compile, compile.init, findbugs.init, src.init" if="src.exists"> <findbugs home="${findbugs.dir}" output="xml" outputFile="${findbugs.output.file}" excludeFilter="${findbugs.exclude.file}" jvmargs="-Xmx1024M" errorProperty="findbugs.errors" warningsProperty="findbugs.warnings"> <class location="${war.classes.dir}"/> <auxClasspath refid="compile.classpath"/> <sourcepath location="${main.java.dir}"/> </findbugs> <antcall target="findbugs.post"/> </target> <target name="findbugs.post" if="findbugs.enforce"> <fail if="findbugs.errors" message="FindBugs errors found"/> <fail if="findbugs.warnings" message="FindBugs warnings found"/> </target> </project>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/project-build/war/default.xml�����������������������������������������������0000644�0001750�0001750�00000001477�11470216467�022475� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2010 SpringSource Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project name="default-war"> <import file="common.xml"/> <import file="artifact.xml"/> <import file="quality.xml"/> <import file="package.xml"/> <import file="publish.xml"/> </project>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/project-build/war/common.xml������������������������������������������������0000644�0001750�0001750�00000003127�11470216467�022333� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2010 SpringSource Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project name="common-war" xmlns:s="antlib:org.springframework.build"> <import file="../common/common.xml"/> <!-- Macros --> <macrodef name="do-compile"> <attribute name="classpath.id"/> <attribute name="input.dir"/> <attribute name="output.dir"/> <attribute name="resources.dir"/> <sequential> <s:javac destdir="@{output.dir}" source="${source.version}" target="${target.version}" debug="${compile.debug}" debugLevel="${compile.debug.level}"> <compilerarg line="${compiler.args}"/> <src path="@{input.dir}"/> <include name="**/*.java"/> <include name="*.java"/> <classpath refid="@{classpath.id}"/> </s:javac> <copy todir="@{output.dir}"> <fileset dir="@{input.dir}" erroronmissingdir="false"> <exclude name="**/*.java"/> <exclude name="*.java"/> </fileset> </copy> <copy todir="@{output.dir}"> <fileset dir="@{resources.dir}" erroronmissingdir="false"/> </copy> </sequential> </macrodef> </project>�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/������������������������������������������0000755�0001750�0001750�00000000000�11434455047�023464� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/build.xml���������������������������������0000644�0001750�0001750�00000000334�11434455047�025305� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <project name="org.springframework.build.aws.ivy"> <property file="${basedir}/../build.properties"/> <import file="${basedir}/../spring-build/standard/default.xml"/> </project> ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/ivy.xml�����������������������������������0000644�0001750�0001750�00000002075�11434455047�025021� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="http://ivyrep.jayasoft.org/ivy-doc.xsl"?> <ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://incubator.apache.org/ivy/schemas/ivy.xsd" version="1.3"> <info organisation="org.springframework.build" module="${ant.project.name}"> <ivyauthor name="benhale"/> </info> <configurations> <include file="${spring.build.dir}/common/default-ivy-configurations.xml"/> </configurations> <publications> <artifact name="${ant.project.name}"/> <artifact name="${ant.project.name}-sources" type="src" ext="jar"/> </publications> <dependencies> <dependency org="org.jets3t" name="com.springsource.org.jets3t" rev="0.7.0" conf="compile->compile;runtime->runtime"/> <dependency org="org.apache.ant" name="com.springsource.org.apache.ivy" rev="2.0.0.beta2" conf="compile->compile"/> <dependency org="org.apache.commons" name="com.springsource.org.apache.commons.httpclient" rev="3.1.0" conf="runtime->runtime"/> </dependencies> </ivy-module> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/.classpath��������������������������������0000644�0001750�0001750�00000001637�11434455047�025456� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src/main/java"/> <classpathentry kind="src" path="src/main/resources"/> <classpathentry kind="src" output="target/test-classes" path="src/test/java"/> <classpathentry kind="src" path="src/test/resources"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="var" path="AWS_ANT_IVY_CACHE/org.jets3t/com.springsource.org.jets3t/0.7.1/com.springsource.org.jets3t-0.7.1.jar" sourcepath="/DOWNLOADS/jets3t-0.7.0/src"/> <classpathentry kind="var" path="AWS_ANT_IVY_CACHE/org.apache.ant/com.springsource.org.apache.ivy/2.0.0.beta2/com.springsource.org.apache.ivy-2.0.0.beta2.jar" sourcepath="/AWS_ANT_IVY_CACHE/org.apache.ant/com.springsource.org.apache.ivy/2.0.0.beta2/com.springsource.org.apache.ivy-sources-2.0.0.beta2.jar"/> <classpathentry kind="output" path="target/classes"/> </classpath> �������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/.project����������������������������������0000644�0001750�0001750�00000000474�11434455047�025140� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<projectDescription> <name>org.springframework.build.aws.ivy</name> <comment/> <projects/> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/��������������������������������������0000755�0001750�0001750�00000000000�11434455047�024253� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/���������������������������������0000755�0001750�0001750�00000000000�11434455047�025177� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/resources/�����������������������0000755�0001750�0001750�00000000000�11434455047�027211� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/resources/.gitignore�������������0000644�0001750�0001750�00000000000�11434455047�031167� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/����������������������������0000755�0001750�0001750�00000000000�11434455047�026120� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/������������������������0000755�0001750�0001750�00000000000�11434455047�026707� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/��������0000755�0001750�0001750�00000000000�11434455047�032127� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/aws/����0000755�0001750�0001750�00000000000�11434455047�032721� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/aws/ivy/0000755�0001750�0001750�00000000000�11434455047�033530� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000166�00000000000�011570� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/aws/ivy/S3Repository.java�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/aws/ivy/0000644�0001750�0001750�00000011401�11434455047�033527� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.aws.ivy; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.ivy.plugins.repository.AbstractRepository; import org.apache.ivy.plugins.repository.RepositoryCopyProgressListener; import org.apache.ivy.plugins.repository.Resource; import org.apache.ivy.plugins.repository.TransferEvent; import org.apache.ivy.util.FileUtil; import org.jets3t.service.S3Service; import org.jets3t.service.S3ServiceException; import org.jets3t.service.acl.AccessControlList; import org.jets3t.service.impl.rest.httpclient.RestS3Service; import org.jets3t.service.model.S3Bucket; import org.jets3t.service.model.S3Object; import org.jets3t.service.security.AWSCredentials; /** * A repository the allows you to upload and download from an S3 repository. * * @author Ben Hale */ public class S3Repository extends AbstractRepository { private String accessKey; private String secretKey; private S3Service service; private Map<String, S3Resource> resourceCache = new HashMap<String, S3Resource>(); public void setAccessKey(String accessKey) { this.accessKey = accessKey; } public void setSecretKey(String secretKey) { this.secretKey = secretKey; } public void get(String source, File destination) throws IOException { Resource resource = getResource(source); try { fireTransferInitiated(resource, TransferEvent.REQUEST_GET); RepositoryCopyProgressListener progressListener = new RepositoryCopyProgressListener(this); progressListener.setTotalLength(resource.getContentLength()); FileUtil.copy(resource.openStream(), new FileOutputStream(destination), progressListener); } catch (IOException e) { fireTransferError(e); throw e; } catch (RuntimeException e) { fireTransferError(e); throw e; } finally { fireTransferCompleted(resource.getContentLength()); } } public Resource getResource(String source) throws IOException { if (!resourceCache.containsKey(source)) { resourceCache.put(source, new S3Resource(getService(), source)); } return resourceCache.get(source); } public List<String> list(String parent) throws IOException { S3Bucket bucket = S3Utils.getBucket(parent); String key = S3Utils.getKey(parent); try { S3Object[] objects = getService().listObjects(bucket, key, ""); List<String> keys = new ArrayList<String>(objects.length); for (S3Object object : objects) { keys.add(object.getKey()); } return keys; } catch (S3ServiceException e) { throw new S3RepositoryException(e); } } @Override protected void put(File source, String destination, boolean overwrite) throws IOException { S3Bucket bucket = S3Utils.getBucket(destination); String key = S3Utils.getKey(destination); buildDestinationPath(bucket, getDestinationPath(key)); S3Object object = new S3Object(bucket, key); object.setAcl(AccessControlList.REST_CANNED_PUBLIC_READ); object.setDataInputFile(source); object.setContentLength(source.length()); try { getService().putObject(bucket, object); } catch (S3ServiceException e) { throw new S3RepositoryException(e); } } private S3Service getService() { if (service == null) { try { service = new RestS3Service(getCredentials()); } catch (S3ServiceException e) { throw new S3RepositoryException(e); } } return service; } private AWSCredentials getCredentials() { if (accessKey.length() > 0 && secretKey.length() > 0) { return new AWSCredentials(accessKey, secretKey); } return null; } private void buildDestinationPath(S3Bucket bucket, String destination) { S3Object object = new S3Object(bucket, destination + "/"); object.setAcl(AccessControlList.REST_CANNED_PUBLIC_READ); object.setContentLength(0); try { getService().putObject(bucket, object); } catch (S3ServiceException e) { throw new S3RepositoryException(e); } int index = destination.lastIndexOf('/'); if (index != -1) { buildDestinationPath(bucket, destination.substring(0, index)); } } private String getDestinationPath(String destination) { return destination.substring(0, destination.lastIndexOf('/')); } } ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000161�00000000000�011563� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/aws/ivy/S3Utils.java����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/aws/ivy/0000644�0001750�0001750�00000002774�11434455047�033544� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.aws.ivy; import java.net.URI; import java.net.URISyntaxException; import org.jets3t.service.model.S3Bucket; /** * A utility class for parsing full URIs into S3 component parts. * * @author Ben Hale */ public class S3Utils { /** * Parses the S3 bucket from a properly formed S3 URI. * @param uri The URI to parse * @return An S3 bucket for the given URI */ public static S3Bucket getBucket(String uri) { return new S3Bucket(getUri(uri).getHost()); } /** * Parses the S3 key name from a properly formed S3URI. * @param uri The URI to parse * @return An S3 key name for the given URI */ public static String getKey(String uri) { return getUri(uri).getPath().substring(1); } private static URI getUri(String uri) { try { return new URI(uri); } catch (URISyntaxException e) { throw new IllegalArgumentException("'" + uri + "' is a malformed S3 URI"); } } } ����././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000164�00000000000�011566� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/aws/ivy/S3Resource.java�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/aws/ivy/0000644�0001750�0001750�00000005015�11434455047�033533� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.aws.ivy; import java.io.IOException; import java.io.InputStream; import org.apache.ivy.plugins.repository.Resource; import org.jets3t.service.S3Service; import org.jets3t.service.S3ServiceException; import org.jets3t.service.model.S3Bucket; import org.jets3t.service.model.S3Object; /** * A Resource implementation that extracts its data from an S3 resource. * * @author Ben Hale */ public class S3Resource implements Resource { private S3Service service; private S3Bucket bucket; private String key; private boolean exists; private long contentLength; private long lastModified; private String name; public S3Resource(S3Service service, String uri) { this.service = service; initializeS3(uri); initalizeResource(); } public Resource clone(String newUri) { return new S3Resource(service, newUri); } public boolean exists() { return exists; } public long getContentLength() { return contentLength; } public long getLastModified() { return lastModified; } public String getName() { return name; } public boolean isLocal() { return false; } public InputStream openStream() throws IOException { try { return service.getObject(bucket, key).getDataInputStream(); } catch (S3ServiceException e) { throw new S3RepositoryException(e); } } private void initializeS3(String uri) { this.bucket = S3Utils.getBucket(uri); this.key = S3Utils.getKey(uri); } private void initalizeResource() { try { S3Object details = service.getObjectDetails(bucket, key); this.exists = true; this.contentLength = details.getContentLength(); this.lastModified = details.getLastModifiedDate().getTime(); this.name = "s3://" + details.getBucketName() + "/" + details.getKey(); } catch (S3ServiceException e) { this.exists = false; this.contentLength = 0; this.lastModified = 0; this.name = ""; } } @Override public String toString() { return name; } } �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000177�00000000000�011572� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/aws/ivy/S3RepositoryException.java��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/aws/ivy/0000644�0001750�0001750�00000001601�11434455047�033530� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.aws.ivy; /** * A runtime wrapper exception for S3 exceptions thrown in the * {@link S3Repository}. * * @author Ben Hale */ public class S3RepositoryException extends RuntimeException { public S3RepositoryException(Throwable throwable) { super(throwable); } } �������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000164�00000000000�011566� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/aws/ivy/S3Resolver.java�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/main/java/org/springframework/aws/ivy/0000644�0001750�0001750�00000002464�11434455047�033540� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.aws.ivy; import java.util.logging.Level; import java.util.logging.Logger; import org.apache.ivy.plugins.resolver.RepositoryResolver; /** * A dependency resolver that looks to an S3 repository to resolve dependencies. * * @author Ben Hale */ public class S3Resolver extends RepositoryResolver { static { Logger.getLogger("org.jets3t").setLevel(Level.OFF); } public void setAccessKey(String accessKey) { ((S3Repository)getRepository()).setAccessKey(accessKey); } public void setSecretKey(String secretKey) { ((S3Repository)getRepository()).setSecretKey(secretKey); } public S3Resolver() { setRepository(new S3Repository()); } public String getTypeName() { return "S3"; } } ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/test/���������������������������������0000755�0001750�0001750�00000000000�11434455047�025232� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/test/resources/�����������������������0000755�0001750�0001750�00000000000�11434455047�027244� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/test/resources/.gitignore�������������0000644�0001750�0001750�00000000000�11434455047�031222� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/test/java/����������������������������0000755�0001750�0001750�00000000000�11434455047�026153� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/src/test/java/.gitignore������������������0000644�0001750�0001750�00000000000�11434455047�030131� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/.settings/��������������������������������0000755�0001750�0001750�00000000000�11434455047�025402� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/.settings/org.eclipse.jdt.core.prefs������0000644�0001750�0001750�00000052361�11434455047�032373� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#Tue Nov 13 10:17:50 EST 2007 eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 org.eclipse.jdt.core.compiler.compliance=1.5 org.eclipse.jdt.core.compiler.source=1.5 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 org.eclipse.jdt.core.formatter.alignment_for_assignment=0 org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 org.eclipse.jdt.core.formatter.blank_lines_after_package=1 org.eclipse.jdt.core.formatter.blank_lines_before_field=1 org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 org.eclipse.jdt.core.formatter.blank_lines_before_method=1 org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 org.eclipse.jdt.core.formatter.blank_lines_before_package=0 org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false org.eclipse.jdt.core.formatter.comment.format_block_comments=true org.eclipse.jdt.core.formatter.comment.format_header=false org.eclipse.jdt.core.formatter.comment.format_html=true org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true org.eclipse.jdt.core.formatter.comment.format_line_comments=true org.eclipse.jdt.core.formatter.comment.format_source_code=true org.eclipse.jdt.core.formatter.comment.indent_parameter_description=false org.eclipse.jdt.core.formatter.comment.indent_root_tags=false org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=do not insert org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert org.eclipse.jdt.core.formatter.comment.line_length=80 org.eclipse.jdt.core.formatter.compact_else_if=true org.eclipse.jdt.core.formatter.continuation_indentation=2 org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true org.eclipse.jdt.core.formatter.indent_empty_lines=false org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false org.eclipse.jdt.core.formatter.indentation.size=4 org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false org.eclipse.jdt.core.formatter.lineSplit=120 org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true org.eclipse.jdt.core.formatter.tabulation.char=tab org.eclipse.jdt.core.formatter.tabulation.size=4 org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.aws.ivy/.settings/org.eclipse.jdt.ui.prefs��������0000644�0001750�0001750�00000000164�11434455047�032052� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#Tue Nov 13 08:44:40 EST 2007 eclipse.preferences.version=1 formatter_profile=_Spring formatter_settings_version=11 ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/license.txt�����������������������������������������������������������������0000644�0001750�0001750�00000026135�11434454561�017153� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/build.properties������������������������������������������������������������0000644�0001750�0001750�00000000250�11434455047�020173� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������version=1.0.9 release.type=integration project.key=BUILD ivy.cache.dir=${basedir}/../ivy-cache integration.repo.dir=${basedir}/../integration-repo disable.bundlor=true ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/.gitignore������������������������������������������������������������������0000644�0001750�0001750�00000000006�11434454561�016745� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������target��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/����������������������������������������������0000755�0001750�0001750�00000000000�11434455327�022647� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/template.mf�����������������������������������0000644�0001750�0001750�00000000310�11434455327�025000� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Bundle-SymbolicName: org.springframework.build.spring-ant Import-Template: org.apache.tools.ant.*;version="[1.7.0, 2.0.0)", org.apache.commons.net.*;version="[1.4.0, 2.0.0)";resolution:="optional" ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/build.xml�������������������������������������0000644�0001750�0001750�00000000322�11434455327�024465� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <project name="org.springframework.build.ant"> <property file="${basedir}/build.properties"/> <import file="${basedir}/spring-build/standard/default.xml"/> </project> ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/ivy.xml���������������������������������������0000644�0001750�0001750�00000001677�11434455327�024213� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="http://ivyrep.jayasoft.org/ivy-doc.xsl"?> <ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://incubator.apache.org/ivy/schemas/ivy.xsd" version="1.3"> <info organisation="org.springframework.build" module="${ant.project.name}"> <ivyauthor name="benhale"/> </info> <configurations> <include file="${spring.build.dir}/common/default-ivy-configurations.xml"/> </configurations> <publications> <artifact name="${ant.project.name}"/> <artifact name="${ant.project.name}-sources" type="src" ext="jar"/> </publications> <dependencies> <dependency org="org.apache.ant" name="com.springsource.org.apache.tools.ant" rev="1.7.0" conf="provided->compile"/> <dependency org="org.apache.commons" name="com.springsource.org.apache.commons.net" rev="1.4.1" conf="provided->compile"/> </dependencies> </ivy-module> �����������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/.classpath������������������������������������0000644�0001750�0001750�00000001416�11434455327�024634� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src/main/java"/> <classpathentry kind="src" path="src/main/resources"/> <classpathentry kind="src" output="target/test-classes" path="src/test/java"/> <classpathentry kind="src" output="target/test-classes" path="src/test/resources"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="lib" path="ivy-cache/repository/org.apache.ant/com.springsource.org.apache.tools.ant/1.7.0/com.springsource.org.apache.tools.ant-1.7.0.jar" sourcepath="ivy-cache/repository/org.apache.ant/com.springsource.org.apache.tools.ant/1.7.0/com.springsource.org.apache.tools.ant-sources-1.7.0.jar"/> <classpathentry kind="output" path="target/classes"/> </classpath> ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/.project��������������������������������������0000644�0001750�0001750�00000000604�11434455327�024316� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>org.springframework.build.ant</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription> ����������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/build.properties������������������������������0000644�0001750�0001750�00000000214�11434455327�026061� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������version=1.1.1 release.type=integration project.key=BUILD ivy.cache.dir=${basedir}/ivy-cache integration.repo.dir=${basedir}/integration-repo������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/������������������������������������������0000755�0001750�0001750�00000000000�11434455327�023436� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/�������������������������������������0000755�0001750�0001750�00000000000�11434455327�024362� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/resources/���������������������������0000755�0001750�0001750�00000000000�11434455327�026374� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/resources/org/�����������������������0000755�0001750�0001750�00000000000�11434455327�027163� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/resources/org/springframework/�������0000755�0001750�0001750�00000000000�11434455327�032403� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/resources/org/springframework/build/�0000755�0001750�0001750�00000000000�11434455327�033502� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000150�00000000000�011561� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/resources/org/springframework/build/ant/�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/resources/org/springframework/build/a0000755�0001750�0001750�00000000000�11434455327�033643� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000162�00000000000�011564� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/resources/org/springframework/build/ant/antlib.xml���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/resources/org/springframework/build/a0000644�0001750�0001750�00000000302�11434455327�033640� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <antlib> <taskdef name="javac" classname="org.springframework.build.ant.Javac" /> <taskdef name="telnet" classname="org.springframework.build.ant.TelnetTask" /> </antlib>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/java/��������������������������������0000755�0001750�0001750�00000000000�11434455327�025303� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/java/org/����������������������������0000755�0001750�0001750�00000000000�11434455327�026072� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/java/org/springframework/������������0000755�0001750�0001750�00000000000�11434455327�031312� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/java/org/springframework/build/������0000755�0001750�0001750�00000000000�11434455327�032411� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/java/org/springframework/build/ant/��0000755�0001750�0001750�00000000000�11434455327�033173� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000155�00000000000�011566� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/java/org/springframework/build/ant/Javac.java��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/java/org/springframework/build/ant/Ja0000644�0001750�0001750�00000071730�11434455327�033460� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.ant; import java.io.File; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.DirectoryScanner; import org.apache.tools.ant.MagicNames; import org.apache.tools.ant.Project; import org.apache.tools.ant.taskdefs.compilers.CompilerAdapter; import org.apache.tools.ant.types.Path; import org.apache.tools.ant.types.Reference; import org.apache.tools.ant.util.GlobPatternMapper; import org.apache.tools.ant.util.JavaEnvUtils; import org.apache.tools.ant.util.SourceFileScanner; import org.apache.tools.ant.util.facade.FacadeTaskHelper; /** * Compiles Java source files. This task can take the following * arguments: * <ul> * <li>sourcedir * <li>destdir * <li>deprecation * <li>classpath * <li>bootclasspath * <li>extdirs * <li>optimize * <li>debug * <li>encoding * <li>target * <li>depend * <li>verbose * <li>failonerror * <li>includeantruntime * <li>includejavaruntime * <li>source * <li>compiler * </ul> * Of these arguments, the <b>sourcedir</b> and <b>destdir</b> are required. * <p> * When this task executes, it will recursively scan the sourcedir and * destdir looking for Java source files to compile. This task makes its * compile decision based on timestamp. * * * @since Ant 1.1 * * @ant.task category="java" */ public class Javac extends org.apache.tools.ant.taskdefs.Javac { private static final String FAIL_MSG = "Compile failed; see the compiler error output for details."; private static final String JAVAC16 = "javac1.6"; private static final String JAVAC15 = "javac1.5"; private static final String JAVAC14 = "javac1.4"; private static final String JAVAC13 = "javac1.3"; private static final String JAVAC12 = "javac1.2"; private static final String JAVAC11 = "javac1.1"; private static final String MODERN = "modern"; private static final String CLASSIC = "classic"; private static final String EXTJAVAC = "extJavac"; private Path src; private File destDir; private Path compileClasspath; private Path compileSourcepath; private String encoding; private boolean debug = false; private boolean optimize = false; private boolean deprecation = false; private boolean depend = false; private boolean verbose = false; private String targetAttribute; private Path bootclasspath; private Path extdirs; private boolean includeAntRuntime = true; private boolean includeJavaRuntime = false; private boolean fork = false; private String forkedExecutable = null; private boolean nowarn = false; private String memoryInitialSize; private String memoryMaximumSize; private FacadeTaskHelper facade = null; // CheckStyle:VisibilityModifier OFF - bc protected boolean failOnError = true; protected boolean listFiles = false; protected File[] compileList = new File[0]; // CheckStyle:VisibilityModifier ON private String source; private String debugLevel; private File tmpDir; /** * Javac task for compilation of Java files. */ public Javac() { facade = new FacadeTaskHelper(assumedJavaVersion()); } private String assumedJavaVersion() { if (JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_2)) { return JAVAC12; } else if (JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_3)) { return JAVAC13; } else if (JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_4)) { return JAVAC14; } else if (JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_5)) { return JAVAC15; } else if (JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_6)) { return JAVAC16; } else { return CLASSIC; } } /** * Get the value of debugLevel. * @return value of debugLevel. */ public String getDebugLevel() { return debugLevel; } /** * Keyword list to be appended to the -g command-line switch. * * This will be ignored by all implementations except modern * and classic(ver >= 1.2). Legal values are none or a * comma-separated list of the following keywords: lines, vars, * and source. If debuglevel is not specified, by default, :none * will be appended to -g. If debug is not turned on, this attribute * will be ignored. * * @param v Value to assign to debugLevel. */ public void setDebugLevel(String v) { this.debugLevel = v; } /** * Get the value of source. * @return value of source. */ public String getSource() { return source != null ? source : getProject().getProperty(MagicNames.BUILD_JAVAC_SOURCE); } /** * Value of the -source command-line switch; will be ignored * by all implementations except modern and jikes. * * If you use this attribute together with jikes, you must make * sure that your version of jikes supports the -source switch. * Legal values are 1.3, 1.4, 1.5, and 5 - by default, no * -source argument will be used at all. * * @param v Value to assign to source. */ public void setSource(String v) { this.source = v; } /** * Adds a path for source compilation. * * @return a nested src element. */ public Path createSrc() { if (src == null) { src = new Path(getProject()); } return src.createPath(); } /** * Recreate src. * * @return a nested src element. */ protected Path recreateSrc() { src = null; return createSrc(); } /** * Set the source directories to find the source Java files. * @param srcDir the source directories as a path */ public void setSrcdir(Path srcDir) { if (src == null) { src = srcDir; } else { src.append(srcDir); } } /** * Gets the source dirs to find the source java files. * @return the source directories as a path */ public Path getSrcdir() { return src; } /** * Set the destination directory into which the Java source * files should be compiled. * @param destDir the destination director */ public void setDestdir(File destDir) { this.destDir = destDir; } /** * Gets the destination directory into which the java source files * should be compiled. * @return the destination directory */ public File getDestdir() { return destDir; } /** * Set the sourcepath to be used for this compilation. * @param sourcepath the source path */ public void setSourcepath(Path sourcepath) { if (compileSourcepath == null) { compileSourcepath = sourcepath; } else { compileSourcepath.append(sourcepath); } } /** * Gets the sourcepath to be used for this compilation. * @return the source path */ public Path getSourcepath() { return compileSourcepath; } /** * Adds a path to sourcepath. * @return a sourcepath to be configured */ public Path createSourcepath() { if (compileSourcepath == null) { compileSourcepath = new Path(getProject()); } return compileSourcepath.createPath(); } /** * Adds a reference to a source path defined elsewhere. * @param r a reference to a source path */ public void setSourcepathRef(Reference r) { createSourcepath().setRefid(r); } /** * Set the classpath to be used for this compilation. * * @param classpath an Ant Path object containing the compilation classpath. */ public void setClasspath(Path classpath) { if (compileClasspath == null) { compileClasspath = classpath; } else { compileClasspath.append(classpath); } } /** * Gets the classpath to be used for this compilation. * @return the class path */ public Path getClasspath() { return compileClasspath; } /** * Adds a path to the classpath. * @return a class path to be configured */ public Path createClasspath() { if (compileClasspath == null) { compileClasspath = new Path(getProject()); } return compileClasspath.createPath(); } /** * Adds a reference to a classpath defined elsewhere. * @param r a reference to a classpath */ public void setClasspathRef(Reference r) { createClasspath().setRefid(r); } /** * Sets the bootclasspath that will be used to compile the classes * against. * @param bootclasspath a path to use as a boot class path (may be more * than one) */ public void setBootclasspath(Path bootclasspath) { if (this.bootclasspath == null) { this.bootclasspath = bootclasspath; } else { this.bootclasspath.append(bootclasspath); } } /** * Gets the bootclasspath that will be used to compile the classes * against. * @return the boot path */ public Path getBootclasspath() { return bootclasspath; } /** * Adds a path to the bootclasspath. * @return a path to be configured */ public Path createBootclasspath() { if (bootclasspath == null) { bootclasspath = new Path(getProject()); } return bootclasspath.createPath(); } /** * Adds a reference to a classpath defined elsewhere. * @param r a reference to a classpath */ public void setBootClasspathRef(Reference r) { createBootclasspath().setRefid(r); } /** * Sets the extension directories that will be used during the * compilation. * @param extdirs a path */ public void setExtdirs(Path extdirs) { if (this.extdirs == null) { this.extdirs = extdirs; } else { this.extdirs.append(extdirs); } } /** * Gets the extension directories that will be used during the * compilation. * @return the extension directories as a path */ public Path getExtdirs() { return extdirs; } /** * Adds a path to extdirs. * @return a path to be configured */ public Path createExtdirs() { if (extdirs == null) { extdirs = new Path(getProject()); } return extdirs.createPath(); } /** * If true, list the source files being handed off to the compiler. * @param list if true list the source files */ public void setListfiles(boolean list) { listFiles = list; } /** * Get the listfiles flag. * @return the listfiles flag */ public boolean getListfiles() { return listFiles; } /** * Indicates whether the build will continue * even if there are compilation errors; defaults to true. * @param fail if true halt the build on failure */ public void setFailonerror(boolean fail) { failOnError = fail; } /** * @ant.attribute ignore="true" * @param proceed inverse of failoferror */ public void setProceed(boolean proceed) { failOnError = !proceed; } /** * Gets the failonerror flag. * @return the failonerror flag */ public boolean getFailonerror() { return failOnError; } /** * Indicates whether source should be * compiled with deprecation information; defaults to off. * @param deprecation if true turn on deprecation information */ public void setDeprecation(boolean deprecation) { this.deprecation = deprecation; } /** * Gets the deprecation flag. * @return the deprecation flag */ public boolean getDeprecation() { return deprecation; } /** * The initial size of the memory for the underlying VM * if javac is run externally; ignored otherwise. * Defaults to the standard VM memory setting. * (Examples: 83886080, 81920k, or 80m) * @param memoryInitialSize string to pass to VM */ public void setMemoryInitialSize(String memoryInitialSize) { this.memoryInitialSize = memoryInitialSize; } /** * Gets the memoryInitialSize flag. * @return the memoryInitialSize flag */ public String getMemoryInitialSize() { return memoryInitialSize; } /** * The maximum size of the memory for the underlying VM * if javac is run externally; ignored otherwise. * Defaults to the standard VM memory setting. * (Examples: 83886080, 81920k, or 80m) * @param memoryMaximumSize string to pass to VM */ public void setMemoryMaximumSize(String memoryMaximumSize) { this.memoryMaximumSize = memoryMaximumSize; } /** * Gets the memoryMaximumSize flag. * @return the memoryMaximumSize flag */ public String getMemoryMaximumSize() { return memoryMaximumSize; } /** * Set the Java source file encoding name. * @param encoding the source file encoding */ public void setEncoding(String encoding) { this.encoding = encoding; } /** * Gets the java source file encoding name. * @return the source file encoding name */ public String getEncoding() { return encoding; } /** * Indicates whether source should be compiled * with debug information; defaults to off. * @param debug if true compile with debug information */ public void setDebug(boolean debug) { this.debug = debug; } /** * Gets the debug flag. * @return the debug flag */ public boolean getDebug() { return debug; } /** * If true, compiles with optimization enabled. * @param optimize if true compile with optimization enabled */ public void setOptimize(boolean optimize) { this.optimize = optimize; } /** * Gets the optimize flag. * @return the optimize flag */ public boolean getOptimize() { return optimize; } /** * Enables dependency-tracking for compilers * that support this (jikes and classic). * @param depend if true enable dependency-tracking */ public void setDepend(boolean depend) { this.depend = depend; } /** * Gets the depend flag. * @return the depend flag */ public boolean getDepend() { return depend; } /** * If true, asks the compiler for verbose output. * @param verbose if true, asks the compiler for verbose output */ public void setVerbose(boolean verbose) { this.verbose = verbose; } /** * Gets the verbose flag. * @return the verbose flag */ public boolean getVerbose() { return verbose; } /** * Sets the target VM that the classes will be compiled for. Valid * values depend on the compiler, for jdk 1.4 the valid values are * "1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "5" and "6". * @param target the target VM */ public void setTarget(String target) { this.targetAttribute = target; } /** * Gets the target VM that the classes will be compiled for. * @return the target VM */ public String getTarget() { return targetAttribute != null ? targetAttribute : getProject().getProperty(MagicNames.BUILD_JAVAC_TARGET); } /** * If true, includes Ant's own classpath in the classpath. * @param include if true, includes Ant's own classpath in the classpath */ public void setIncludeantruntime(boolean include) { includeAntRuntime = include; } /** * Gets whether or not the ant classpath is to be included in the classpath. * @return whether or not the ant classpath is to be included in the classpath */ public boolean getIncludeantruntime() { return includeAntRuntime; } /** * If true, includes the Java runtime libraries in the classpath. * @param include if true, includes the Java runtime libraries in the classpath */ public void setIncludejavaruntime(boolean include) { includeJavaRuntime = include; } /** * Gets whether or not the java runtime should be included in this * task's classpath. * @return the includejavaruntime attribute */ public boolean getIncludejavaruntime() { return includeJavaRuntime; } /** * If true, forks the javac compiler. * * @param f "true|false|on|off|yes|no" */ public void setFork(boolean f) { fork = f; } /** * Sets the name of the javac executable. * * <p>Ignored unless fork is true or extJavac has been specified * as the compiler.</p> * @param forkExec the name of the executable */ public void setExecutable(String forkExec) { forkedExecutable = forkExec; } /** * The value of the executable attribute, if any. * * @since Ant 1.6 * @return the name of the java executable */ public String getExecutable() { return forkedExecutable; } /** * Is this a forked invocation of JDK's javac? * @return true if this is a forked invocation */ public boolean isForkedJavac() { return fork || "extJavac".equals(getCompiler()); } /** * The name of the javac executable to use in fork-mode. * * <p>This is either the name specified with the executable * attribute or the full path of the javac compiler of the VM Ant * is currently running in - guessed by Ant.</p> * * <p>You should <strong>not</strong> invoke this method if you * want to get the value of the executable command - use {@link * #getExecutable getExecutable} for this.</p> * @return the name of the javac executable */ public String getJavacExecutable() { if (forkedExecutable == null && isForkedJavac()) { forkedExecutable = getSystemJavac(); } else if (forkedExecutable != null && !isForkedJavac()) { forkedExecutable = null; } return forkedExecutable; } /** * If true, enables the -nowarn option. * @param flag if true, enable the -nowarn option */ public void setNowarn(boolean flag) { this.nowarn = flag; } /** * Should the -nowarn option be used. * @return true if the -nowarn option should be used */ public boolean getNowarn() { return nowarn; } /** * Adds an implementation specific command-line argument. * @return a ImplementationSpecificArgument to be configured */ public ImplementationSpecificArgument createCompilerArg() { ImplementationSpecificArgument arg = new ImplementationSpecificArgument(); facade.addImplementationArgument(arg); return arg; } /** * Get the additional implementation specific command line arguments. * @return array of command line arguments, guaranteed to be non-null. */ public String[] getCurrentCompilerArgs() { String chosen = facade.getExplicitChoice(); try { // make sure facade knows about magic properties and fork setting String appliedCompiler = getCompiler(); facade.setImplementation(appliedCompiler); String[] result = facade.getArgs(); String altCompilerName = getAltCompilerName(facade.getImplementation()); if (result.length == 0 && altCompilerName != null) { facade.setImplementation(altCompilerName); result = facade.getArgs(); } return result; } finally { facade.setImplementation(chosen); } } private String getAltCompilerName(String anImplementation) { if (JAVAC16.equalsIgnoreCase(anImplementation) || JAVAC15.equalsIgnoreCase(anImplementation) || JAVAC14.equalsIgnoreCase(anImplementation) || JAVAC13.equalsIgnoreCase(anImplementation)) { return MODERN; } if (JAVAC12.equalsIgnoreCase(anImplementation) || JAVAC11.equalsIgnoreCase(anImplementation)) { return CLASSIC; } if (MODERN.equalsIgnoreCase(anImplementation)) { String nextSelected = assumedJavaVersion(); if (JAVAC16.equalsIgnoreCase(nextSelected) || JAVAC15.equalsIgnoreCase(nextSelected) || JAVAC14.equalsIgnoreCase(nextSelected) || JAVAC13.equalsIgnoreCase(nextSelected)) { return nextSelected; } } if (CLASSIC.equals(anImplementation)) { return assumedJavaVersion(); } if (EXTJAVAC.equalsIgnoreCase(anImplementation)) { return assumedJavaVersion(); } return null; } /** * Where Ant should place temporary files. * * @since Ant 1.6 * @param tmpDir the temporary directory */ public void setTempdir(File tmpDir) { this.tmpDir = tmpDir; } /** * Where Ant should place temporary files. * * @since Ant 1.6 * @return the temporary directory */ public File getTempdir() { return tmpDir; } /** * Executes the task. * @exception BuildException if an error occurs */ public void execute() throws BuildException { checkParameters(); resetFileLists(); // scan source directories and dest directory to build up // compile lists String[] list = src.list(); for (int i = 0; i < list.length; i++) { File srcDir = getProject().resolveFile(list[i]); if (!srcDir.exists()) { throw new BuildException("srcdir \"" + srcDir.getPath() + "\" does not exist!", getLocation()); } DirectoryScanner ds = this.getDirectoryScanner(srcDir); String[] files = ds.getIncludedFiles(); scanDir(srcDir, destDir != null ? destDir : srcDir, files); } compile(); } /** * Clear the list of files to be compiled and copied.. */ protected void resetFileLists() { compileList = new File[0]; } /** * Scans the directory looking for source files to be compiled. * The results are returned in the class variable compileList * * @param srcDir The source directory * @param destDir The destination directory * @param files An array of filenames */ protected void scanDir(File srcDir, File destDir, String[] files) { GlobPatternMapper m = new GlobPatternMapper(); m.setFrom("*.java"); m.setTo("*.class"); SourceFileScanner sfs = new SourceFileScanner(this); File[] newFiles = sfs.restrictAsFiles(files, srcDir, destDir, m); if (newFiles.length > 0) { File[] newCompileList = new File[compileList.length + newFiles.length]; System.arraycopy(compileList, 0, newCompileList, 0, compileList.length); System.arraycopy(newFiles, 0, newCompileList, compileList.length, newFiles.length); compileList = newCompileList; } } /** * Gets the list of files to be compiled. * @return the list of files as an array */ public File[] getFileList() { return compileList; } /** * Is the compiler implementation a jdk compiler * * @param compilerImpl the name of the compiler implementation * @return true if compilerImpl is "modern", "classic", * "javac1.1", "javac1.2", "javac1.3", "javac1.4", "javac1.5" or * "javac1.6". */ protected boolean isJdkCompiler(String compilerImpl) { return MODERN.equals(compilerImpl) || CLASSIC.equals(compilerImpl) || JAVAC16.equals(compilerImpl) || JAVAC15.equals(compilerImpl) || JAVAC14.equals(compilerImpl) || JAVAC13.equals(compilerImpl) || JAVAC12.equals(compilerImpl) || JAVAC11.equals(compilerImpl); } /** * @return the executable name of the java compiler */ protected String getSystemJavac() { return JavaEnvUtils.getJdkExecutable("javac"); } /** * Choose the implementation for this particular task. * @param compiler the name of the compiler * @since Ant 1.5 */ public void setCompiler(String compiler) { facade.setImplementation(compiler); } /** * The implementation for this particular task. * * <p>Defaults to the build.compiler property but can be overridden * via the compiler and fork attributes.</p> * * <p>If fork has been set to true, the result will be extJavac * and not classic or java1.2 - no matter what the compiler * attribute looks like.</p> * * @see #getCompilerVersion * @return the compiler. * @since Ant 1.5 */ public String getCompiler() { String compilerImpl = getCompilerVersion(); if (fork) { if (isJdkCompiler(compilerImpl)) { compilerImpl = "extJavac"; } else { log("Since compiler setting isn't classic or modern," + "ignoring fork setting.", Project.MSG_WARN); } } return compilerImpl; } /** * The implementation for this particular task. * * <p>Defaults to the build.compiler property but can be overridden * via the compiler attribute.</p> * * <p>This method does not take the fork attribute into * account.</p> * * @see #getCompiler * @return the compiler. * * @since Ant 1.5 */ public String getCompilerVersion() { facade.setMagicValue(getProject().getProperty("build.compiler")); return facade.getImplementation(); } /** * Check that all required attributes have been set and nothing * silly has been entered. * * @since Ant 1.5 * @exception BuildException if an error occurs */ protected void checkParameters() throws BuildException { if (src == null) { throw new BuildException("srcdir attribute must be set!", getLocation()); } if (src.size() == 0) { throw new BuildException("srcdir attribute must be set!", getLocation()); } if (destDir != null && !destDir.isDirectory()) { throw new BuildException("destination directory \"" + destDir + "\" does not exist " + "or is not a directory", getLocation()); } } /** * Perform the compilation. * * @since Ant 1.5 */ protected void compile() { String compilerImpl = getCompiler(); if (compileList.length > 0) { log("Compiling " + compileList.length + " source file" + (compileList.length == 1 ? "" : "s") + (destDir != null ? " to " + destDir : "")); if (listFiles) { for (int i = 0; i < compileList.length; i++) { String filename = compileList[i].getAbsolutePath(); log(filename); } } CompilerAdapter adapter = CompilerAdapterFactory.getCompiler(compilerImpl, this); // now we need to populate the compiler adapter adapter.setJavac(this); // finally, lets execute the compiler!! if (!adapter.execute()) { if (failOnError) { throw new BuildException(FAIL_MSG, getLocation()); } else { log(FAIL_MSG, Project.MSG_ERR); } } } } /** * Adds an "compiler" attribute to Commandline$Attribute used to * filter command line attributes based on the current * implementation. */ // public class ImplementationSpecificArgument extends // org.apache.tools.ant.util.facade.ImplementationSpecificArgument { // // /** // * @param impl the name of the compiler // */ // public void setCompiler(String impl) { // super.setImplementation(impl); // } // } } ����������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000162�00000000000�011564� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/java/org/springframework/build/ant/TelnetTask.java���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/java/org/springframework/build/ant/Te0000644�0001750�0001750�00000027704�11434455327�033500� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.ant; import org.apache.commons.net.telnet.TelnetClient; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Calendar; import java.util.Enumeration; import java.util.Vector; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Project; import org.apache.tools.ant.Task; /** * Automates the telnet protocol. * */ public class TelnetTask extends Task { /** * The userid to login with, if automated login is used */ private String userid = null; /** * The password to login with, if automated login is used */ private String password = null; /** * The server to connect to. */ private String server = null; /** * The tcp port to connect to. */ private int port = 23; /** * The list of read/write commands for this session */ private Vector telnetTasks = new Vector(); /** * If true, adds a CR to beginning of login script */ private boolean addCarriageReturn = false; /** * Default time allowed for waiting for a valid response * for all child reads. A value of 0 means no limit. */ private Integer defaultTimeout = null; /** * Verify that all parameters are included. * Connect and possibly login * Iterate through the list of Reads and writes * @throws BuildException on error */ public void execute() throws BuildException { /** A server name is required to continue */ if (server == null) { throw new BuildException("No Server Specified"); } /** A userid and password must appear together * if they appear. They are not required. */ if (userid == null && password != null) { throw new BuildException("No Userid Specified"); } if (password == null && userid != null) { throw new BuildException("No Password Specified"); } /** Create the telnet client object */ AntTelnetClient telnet = null; try { telnet = new AntTelnetClient(); try { telnet.connect(server, port); } catch (IOException e) { throw new BuildException("Can't connect to " + server); } /** Login if userid and password were specified */ if (userid != null && password != null) { login(telnet); } /** Process each sub command */ Enumeration tasksToRun = telnetTasks.elements(); while (tasksToRun != null && tasksToRun.hasMoreElements()) { TelnetSubTask task = (TelnetSubTask) tasksToRun.nextElement(); if (task instanceof TelnetRead && defaultTimeout != null) { ((TelnetRead) task).setDefaultTimeout(defaultTimeout); } task.execute(telnet); } } finally { if (telnet != null && telnet.isConnected()) { try { telnet.disconnect(); } catch (IOException e) { throw new BuildException("Error disconnecting from " + server); } } } } /** * Process a 'typical' login. If it differs, use the read * and write tasks explicitely */ private void login(AntTelnetClient telnet) { if (addCarriageReturn) { telnet.sendString("\n", true); } telnet.waitForString("ogin:"); telnet.sendString(userid, true); telnet.waitForString("assword:"); telnet.sendString(password, false); } /** * Set the the login id to use on the server; * required if <tt>password</tt> is set. * @param u a <code>String</code> value */ public void setUserid(String u) { this.userid = u; } /** * Set the the login password to use * required if <tt>userid</tt> is set. * @param p a <code>String</code> value */ public void setPassword(String p) { this.password = p; } /** * Set the hostname or address of the remote server. * @param m a <code>String</code> value */ public void setServer(String m) { this.server = m; } /** * Set the tcp port to connect to; default is 23. * @param p an <code>int</code> value */ public void setPort(int p) { this.port = p; } /** * send a carriage return after connecting; optional, defaults to false. * @param b a <code>boolean</code> value */ public void setInitialCR(boolean b) { this.addCarriageReturn = b; } /** * set a default timeout in seconds to wait for a response, * zero means forever (the default) * @param i an <code>Integer</code> value */ public void setTimeout(Integer i) { this.defaultTimeout = i; } /** * A string to wait for from the server. * A subTask <read> tag was found. Create the object, * Save it in our list, and return it. * @return a read telnet sub task */ public TelnetSubTask createRead() { TelnetSubTask task = (TelnetSubTask) new TelnetRead(); telnetTasks.addElement(task); return task; } /** * Add text to send to the server * A subTask <write> tag was found. Create the object, * Save it in our list, and return it. * @return a write telnet sub task */ public TelnetSubTask createWrite() { TelnetSubTask task = (TelnetSubTask) new TelnetWrite(); telnetTasks.addElement(task); return task; } /** * This class is the parent of the Read and Write tasks. * It handles the common attributes for both. */ public class TelnetSubTask { // CheckStyle:VisibilityModifier OFF - bc protected String taskString = ""; // CheckStyle:VisibilityModifier ON /** * Execute the subtask. * @param telnet the client * @throws BuildException always as it is not allowed to instantiate this object */ public void execute(AntTelnetClient telnet) throws BuildException { throw new BuildException("Shouldn't be able instantiate a SubTask directly"); } /** * the message as nested text * @param s the nested text */ public void addText(String s) { setString(getProject().replaceProperties(s)); } /** * the message as an attribute * @param s a <code>String</code> value */ public void setString(String s) { taskString += s; } } /** * Sends text to the connected server */ public class TelnetWrite extends TelnetSubTask { private boolean echoString = true; /** * Execute the write task. * @param telnet the task to use * @throws BuildException on error */ public void execute(AntTelnetClient telnet) throws BuildException { telnet.sendString(taskString, echoString); } /** * Whether or not the message should be echoed to the log. * Defaults to <code>true</code>. * @param b a <code>boolean</code> value */ public void setEcho(boolean b) { echoString = b; } } /** * Reads the output from the connected server * until the required string is found or we time out. */ public class TelnetRead extends TelnetSubTask { private Integer timeout = null; /** * Execute the read task. * @param telnet the task to use * @throws BuildException on error */ public void execute(AntTelnetClient telnet) throws BuildException { telnet.waitForString(taskString, timeout); } /** * a timeout value that overrides any task wide timeout. * @param i an <code>Integer</code> value */ public void setTimeout(Integer i) { this.timeout = i; } /** * Sets the default timeout if none has been set already * @param defaultTimeout an <code>Integer</code> value * @ant.attribute ignore="true" */ public void setDefaultTimeout(Integer defaultTimeout) { if (timeout == null) { timeout = defaultTimeout; } } } /** * This class handles the abstraction of the telnet protocol. * Currently it is a wrapper around <a * href="http://jakarta.apache.org/commons/net/index.html">Jakarta * Commons Net</a>. */ public class AntTelnetClient extends TelnetClient { /** * Read from the telnet session until the string we are * waiting for is found * @param s The string to wait on */ public void waitForString(String s) { waitForString(s, null); } /** * Read from the telnet session until the string we are * waiting for is found or the timeout has been reached * @param s The string to wait on * @param timeout The maximum number of seconds to wait */ public void waitForString(String s, Integer timeout) { InputStream is = this.getInputStream(); try { StringBuffer sb = new StringBuffer(); if (timeout == null || timeout.intValue() == 0) { while (sb.toString().indexOf(s) == -1) { sb.append((char) is.read()); } } else { Calendar endTime = Calendar.getInstance(); endTime.add(Calendar.SECOND, timeout.intValue()); while (sb.toString().indexOf(s) == -1) { while (Calendar.getInstance().before(endTime) && is.available() == 0) { Thread.sleep(250); } if (is.available() == 0) { log("Read before running into timeout: " + sb.toString(), Project.MSG_DEBUG); throw new BuildException( "Response timed-out waiting for \"" + s + '\"', getLocation()); } sb.append((char) is.read()); } } log(sb.toString(), Project.MSG_INFO); } catch (BuildException be) { throw be; } catch (Exception e) { throw new BuildException(e, getLocation()); } } /** * Write this string to the telnet session. * @param s the string to write * @param echoString if true log the string sent */ public void sendString(String s, boolean echoString) { OutputStream os = this.getOutputStream(); try { os.write((s + "\n").getBytes()); if (echoString) { log(s, Project.MSG_INFO); } os.flush(); } catch (Exception e) { throw new BuildException(e, getLocation()); } } } } ������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000176�00000000000�011571� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/java/org/springframework/build/ant/CompilerAdapterFactory.java���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.ant/src/main/java/org/springframework/build/ant/Co0000644�0001750�0001750�00000016515�11434455327�033467� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.ant; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Project; import org.apache.tools.ant.Task; import org.apache.tools.ant.taskdefs.compilers.CompilerAdapter; import org.apache.tools.ant.taskdefs.compilers.Gcj; import org.apache.tools.ant.taskdefs.compilers.Javac12; import org.apache.tools.ant.taskdefs.compilers.Javac13; import org.apache.tools.ant.taskdefs.compilers.JavacExternal; import org.apache.tools.ant.taskdefs.compilers.Jikes; import org.apache.tools.ant.taskdefs.compilers.Jvc; import org.apache.tools.ant.taskdefs.compilers.Kjc; import org.apache.tools.ant.taskdefs.compilers.Sj; import org.apache.tools.ant.util.ClasspathUtils; import org.apache.tools.ant.util.JavaEnvUtils; /** * Creates the necessary compiler adapter, given basic criteria. * * @since Ant 1.3 */ public final class CompilerAdapterFactory { private static final String MODERN_COMPILER = "com.sun.tools.javac.Main"; /** This is a singleton -- can't create instances!! */ private CompilerAdapterFactory() { } /** * Based on the parameter passed in, this method creates the necessary * factory desired. * * The current mapping for compiler names are as follows: * <ul><li>jikes = jikes compiler * <li>classic, javac1.1, javac1.2 = the standard compiler from JDK * 1.1/1.2 * <li>modern, javac1.3, javac1.4, javac1.5 = the compiler of JDK 1.3+ * <li>jvc, microsoft = the command line compiler from Microsoft's SDK * for Java / Visual J++ * <li>kjc = the kopi compiler</li> * <li>gcj = the gcj compiler from gcc</li> * <li>sj, symantec = the Symantec Java compiler</li> * <li><i>a fully qualified classname</i> = the name of a compiler * adapter * </ul> * * @param compilerType either the name of the desired compiler, or the * full classname of the compiler's adapter. * @param task a task to log through. * @return the compiler adapter * @throws BuildException if the compiler type could not be resolved into * a compiler adapter. */ public static CompilerAdapter getCompiler(String compilerType, Task task) throws BuildException { boolean isClassicCompilerSupported = true; //as new versions of java come out, add them to this test if (!JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_2) && !JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_3)) { isClassicCompilerSupported = false; } if (compilerType.equalsIgnoreCase("jikes")) { return new Jikes(); } if (compilerType.equalsIgnoreCase("extJavac")) { return new JavacExternal(); } if (compilerType.equalsIgnoreCase("classic") || compilerType.equalsIgnoreCase("javac1.1") || compilerType.equalsIgnoreCase("javac1.2")) { if (isClassicCompilerSupported) { return new Javac12(); } else { task.log("This version of java does " + "not support the classic " + "compiler; upgrading to modern", Project.MSG_WARN); compilerType = "modern"; } } //on java<=1.3 the modern falls back to classic if it is not found //but on java>=1.4 we just bail out early if (compilerType.equalsIgnoreCase("modern") || compilerType.equalsIgnoreCase("javac1.3") || compilerType.equalsIgnoreCase("javac1.4") || compilerType.equalsIgnoreCase("javac1.5") || compilerType.equalsIgnoreCase("javac1.6")) { // does the modern compiler exist? if (doesModernCompilerExist()) { return new Javac13(); } else { if (isClassicCompilerSupported) { task.log("Modern compiler not found - looking for " + "classic compiler", Project.MSG_WARN); return new Javac12(); } else { throw new BuildException("Unable to find a javac " + "compiler;\n" + MODERN_COMPILER + " is not on the " + "classpath.\n" + "Perhaps JAVA_HOME does not" + " point to the JDK.\n" + "It is currently set to \"" + JavaEnvUtils.getJavaHome() + "\""); } } } if (compilerType.equalsIgnoreCase("jvc") || compilerType.equalsIgnoreCase("microsoft")) { return new Jvc(); } if (compilerType.equalsIgnoreCase("kjc")) { return new Kjc(); } if (compilerType.equalsIgnoreCase("gcj")) { return new Gcj(); } if (compilerType.equalsIgnoreCase("sj") || compilerType.equalsIgnoreCase("symantec")) { return new Sj(); } return resolveClassName(compilerType); } /** * query for the Modern compiler existing * @return true if classic os on the classpath */ private static boolean doesModernCompilerExist() { try { Class.forName(MODERN_COMPILER); return true; } catch (ClassNotFoundException cnfe) { try { ClassLoader cl = CompilerAdapterFactory.class.getClassLoader(); if (cl != null) { cl.loadClass(MODERN_COMPILER); return true; } } catch (ClassNotFoundException cnfe2) { // Ignore Exception } } return false; } /** * Tries to resolve the given classname into a compiler adapter. * Throws a fit if it can't. * * @param className The fully qualified classname to be created. * @throws BuildException This is the fit that is thrown if className * isn't an instance of CompilerAdapter. */ private static CompilerAdapter resolveClassName(String className) throws BuildException { return (CompilerAdapter) ClasspathUtils.newInstance(className, CompilerAdapterFactory.class.getClassLoader(), CompilerAdapter.class); } } �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/notice.txt������������������������������������������������������������������0000644�0001750�0001750�00000001761�11434454561�017010� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� ====================================================================== == NOTICE file corresponding to section 4 d of the Apache License, == == Version 2.0, for the Spring Build distribution. == ====================================================================== This product includes software developed by the Apache Software Foundation (http://www.apache.org). The end-user documentation included with a redistribution, if any, must include the following acknowledgement: "This product includes software developed by the Spring Build Project (http://www.springframework.org)." Alternately, this acknowledgement may appear in the software itself, if and wherever such third-party acknowledgements normally appear. The names "Spring" and "Spring Build" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact enquiries@springsource.com. ���������������spring-build-2.7.0.orig/org.springframework.build.osgi/���������������������������������������������0000755�0001750�0001750�00000000000�11434454561�023025� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/template.mf����������������������������������0000644�0001750�0001750�00000000426�11434454561�025166� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Bundle-ManifestVersion: 2 Bundle-Name: OSGi ANT Tasks Bundle-Vendor: SpringSource Inc. Bundle-SymbolicName: org.springframework.build.osgi Bundle-Version: 0 Import-Template: org.apache.tools.*;version="[1.7.0, 2.0.0)", org.eclipse.osgi.*;version="0", org.osgi.*;version="0" ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/.springBeans���������������������������������0000644�0001750�0001750�00000000546�11434454561�025306� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <beansProjectDescription> <version>1</version> <pluginVersion><![CDATA[2.2.4.RELEASE]]></pluginVersion> <configSuffixes> <configSuffix><![CDATA[xml]]></configSuffix> </configSuffixes> <enableImports><![CDATA[false]]></enableImports> <configs> </configs> <configSets> </configSets> </beansProjectDescription> ����������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/build.xml������������������������������������0000644�0001750�0001750�00000000517�11434454561�024651� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <project name="org.springframework.build.osgi"> <property file="${basedir}/build.properties"/> <import file="${basedir}/spring-build/standard/default.xml"/> <target name="test.do" depends="quality-common.test.do"> <ant antfile="${basedir}/test.xml" target="test"/> </target> </project> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/ivy.xml��������������������������������������0000644�0001750�0001750�00000002027�11434454561�024357� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="http://ivyrep.jayasoft.org/ivy-doc.xsl"?> <ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://incubator.apache.org/ivy/schemas/ivy.xsd" version="1.3"> <info organisation="org.springframework.build" module="${ant.project.name}"> <ivyauthor name="benhale"/> </info> <configurations> <include file="${spring.build.dir}/common/default-ivy-configurations.xml"/> </configurations> <publications> <artifact name="${ant.project.name}"/> <artifact name="${ant.project.name}-sources" type="src" ext="jar"/> </publications> <dependencies> <dependency org="org.apache.ant" name="com.springsource.org.apache.tools.ant" rev="1.7.0" conf="provided->runtime"/> <dependency org="org.eclipse.osgi" name="org.eclipse.osgi" rev="3.5.0.v20090311-1300" conf="compile->runtime"/> <dependency org="org.junit" name="com.springsource.org.junit" rev="4.4.0" conf="test->runtime"/> </dependencies> </ivy-module> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/.classpath�����������������������������������0000644�0001750�0001750�00000003562�11434454561�025016� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src/main/java"> <attributes> <attribute name="com.springsource.server.ide.jdt.core.test.classpathentry" value="false"/> </attributes> </classpathentry> <classpathentry kind="src" path="src/main/resources"> <attributes> <attribute name="com.springsource.server.ide.jdt.core.test.classpathentry" value="false"/> </attributes> </classpathentry> <classpathentry kind="src" output="target/test-classes" path="src/test/java"> <attributes> <attribute name="com.springsource.server.ide.jdt.core.test.classpathentry" value="true"/> </attributes> </classpathentry> <classpathentry kind="src" output="target/test-classes" path="src/test/resources"> <attributes> <attribute name="com.springsource.server.ide.jdt.core.test.classpathentry" value="true"/> </attributes> </classpathentry> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="lib" path="ivy-cache/repository/org.apache.ant/com.springsource.org.apache.tools.ant/1.7.0/com.springsource.org.apache.tools.ant-1.7.0.jar" sourcepath="ivy-cache/repository/org.apache.ant/com.springsource.org.apache.tools.ant/1.7.0/com.springsource.org.apache.tools.ant-sources-1.7.0.jar"/> <classpathentry kind="lib" path="ivy-cache/repository/org.eclipse.osgi/org.eclipse.osgi/3.5.0.v20090311-1300/org.eclipse.osgi-3.5.0.v20090311-1300.jar" sourcepath="ivy-cache/repository/org.eclipse.osgi/org.eclipse.osgi/3.5.0.v20090311-1300/org.eclipse.osgi-sources-3.5.0.v20090311-1300.jar"/> <classpathentry kind="lib" path="ivy-cache/repository/org.junit/com.springsource.org.junit/4.4.0/com.springsource.org.junit-4.4.0.jar" sourcepath="ivy-cache/repository/org.junit/com.springsource.org.junit/4.4.0/com.springsource.org.junit-sources-4.4.0.jar"/> <classpathentry kind="output" path="target/classes"/> </classpath> ����������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/.project�������������������������������������0000644�0001750�0001750�00000001741�11434454561�024477� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>org.springframework.build.osgi</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.wst.common.project.facet.core.builder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.springframework.ide.eclipse.core.springbuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.springsource.server.ide.bundlor.core.builder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>com.springsource.server.ide.facet.core.bundlenature</nature> <nature>org.springframework.ide.eclipse.core.springnature</nature> <nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.wst.common.project.facet.core.nature</nature> </natures> </projectDescription> �������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/build.properties�����������������������������0000644�0001750�0001750�00000000214�11434454561�026237� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������version=1.0.1 release.type=integration project.key=BUILD ivy.cache.dir=${basedir}/ivy-cache integration.repo.dir=${basedir}/integration-repo������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/�����������������������������������������0000755�0001750�0001750�00000000000�11434454561�023614� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/������������������������������������0000755�0001750�0001750�00000000000�11434454561�024540� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/resources/��������������������������0000755�0001750�0001750�00000000000�11434454561�026552� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/resources/META-INF/�����������������0000755�0001750�0001750�00000000000�11434454561�027712� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/resources/META-INF/MANIFEST.MF������0000644�0001750�0001750�00000001254�11434454561�031346� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Manifest-Version: 1.0 Bundle-Name: OSGi ANT Tasks Import-Package: org.apache.tools.ant;version="[1.7.0, 2.0.0)",org.apac he.tools.ant.types;version="[1.7.0, 2.0.0)",org.eclipse.osgi.framewor k.internal.core;version="0",org.eclipse.osgi.service.resolver;version ="0",org.osgi.framework;version="0",org.osgi.framework.launch;version ="0",org.osgi.service.packageadmin;version="0" Bundle-ManifestVersion: 2 Bundle-Vendor: SpringSource Inc. Bundle-SymbolicName: org.springframework.build.osgi Export-Package: org.springframework.build.osgi;version="0",org.springf ramework.build.osgi.validator;version="0";uses:="org.apache.tools.ant ,org.apache.tools.ant.types" Bundle-Version: 0 ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/resources/org/����������������������0000755�0001750�0001750�00000000000�11434454561�027341� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/resources/org/springframework/������0000755�0001750�0001750�00000000000�11434454561�032561� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/resources/org/springframework/build/0000755�0001750�0001750�00000000000�11434454561�033660� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000152�00000000000�011563� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/resources/org/springframework/build/osgi/�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/resources/org/springframework/build/0000755�0001750�0001750�00000000000�11434454561�033660� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000164�00000000000�011566� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/resources/org/springframework/build/osgi/antlib.xml�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/resources/org/springframework/build/0000644�0001750�0001750�00000000230�11434454561�033655� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <antlib> <taskdef name="validate" classname="org.springframework.build.osgi.validator.BundleResolutionValidatorTask" /> </antlib>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/�������������������������������0000755�0001750�0001750�00000000000�11434454561�025461� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/org/���������������������������0000755�0001750�0001750�00000000000�11434454561�026250� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/org/springframework/�����������0000755�0001750�0001750�00000000000�11434454561�031470� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/org/springframework/build/�����0000755�0001750�0001750�00000000000�11434454561�032567� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/org/springframework/build/osgi/0000755�0001750�0001750�00000000000�11434454561�033530� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000157�00000000000�011570� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/org/springframework/build/osgi/validator/������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/org/springframework/build/osgi/0000755�0001750�0001750�00000000000�11434454561�033530� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000221�00000000000�011560� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/org/springframework/build/osgi/validator/BundleResolutionValidatorTask.java��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/org/springframework/build/osgi/0000644�0001750�0001750�00000004550�11434454561�033536� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.osgi.validator; import java.io.File; import java.util.ArrayList; import java.util.List; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.types.Path; public final class BundleResolutionValidatorTask { private Path bundlePath; private Path equinoxPath; private Path supportingBundlesPath; public void setBundlePath(Path bundlePath) { this.bundlePath = bundlePath; } public void addEquinoxPath(Path path) { this.equinoxPath = path; } public void addSupportingBundlesPath(Path path) { this.supportingBundlesPath = path; } public void execute() throws BuildException { init(); try { new BundleResolutionValidator(getBundle(this.bundlePath), getBundles(this.supportingBundlesPath), getBundle(this.equinoxPath)).validate(); } catch (ValidationFailedException e) { throw new BuildException("Validation failed", e); } } private void init() throws BuildException { if (bundlePath == null) { throw new BuildException("'bundlePath' must be set"); } if (equinoxPath == null) { throw new BuildException("'equinoxPath' must be set"); } if (supportingBundlesPath == null) { throw new BuildException("'supportingBundlesPath' must be set"); } } private File getBundle(Path path) { return new File(path.list()[0]); } private List<File> getBundles(Path path) { String[] pathEntries = path.list(); List<File> bundleFiles = new ArrayList<File>(pathEntries.length); for (String pathEntry : pathEntries) { bundleFiles.add(new File(pathEntry)); } return bundleFiles; } }��������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000215�00000000000�011563� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/org/springframework/build/osgi/validator/ValidationFailedException.java������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/org/springframework/build/osgi/0000644�0001750�0001750�00000001722�11434454561�033534� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.osgi.validator; public class ValidationFailedException extends Exception { private static final long serialVersionUID = -6903125382402586391L; public ValidationFailedException(String message, Throwable cause) { super(message, cause); } public ValidationFailedException(String message) { super(message); } } ����������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000215�00000000000�011563� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/org/springframework/build/osgi/validator/BundleResolutionValidator.java������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/main/java/org/springframework/build/osgi/0000644�0001750�0001750�00000020241�11434454561�033531� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.osgi.validator; import java.io.File; import java.io.PrintWriter; import java.io.StringWriter; import java.net.MalformedURLException; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.ServiceLoader; import org.eclipse.osgi.framework.internal.core.FrameworkProperties; import org.eclipse.osgi.service.resolver.BundleDescription; import org.eclipse.osgi.service.resolver.PlatformAdmin; import org.eclipse.osgi.service.resolver.ResolverError; import org.eclipse.osgi.service.resolver.State; import org.osgi.framework.Bundle; import org.osgi.framework.BundleContext; import org.osgi.framework.BundleException; import org.osgi.framework.ServiceReference; import org.osgi.framework.launch.Framework; import org.osgi.framework.launch.FrameworkFactory; import org.osgi.service.packageadmin.PackageAdmin; final class BundleResolutionValidator { private final File bundle; private final List<File> supportingBundles; private final File equinoxJar; public BundleResolutionValidator(File bundle, List<File> supportBundles) throws URISyntaxException { this(bundle, supportBundles, new File(FrameworkProperties.class.getProtectionDomain().getCodeSource().getLocation().toURI())); } BundleResolutionValidator(File bundle, List<File> supportBundles, File equinoxJar) { this.bundle = bundle; this.supportingBundles = supportBundles; this.equinoxJar = equinoxJar; } void validate() throws ValidationFailedException { printValidationInformation(); Framework framework; try { framework = launchEquinox(); } catch (BundleException e) { throw new ValidationFailedException("The OSGi framework failed to start", e); } try { BundleContext bundleContext = framework.getBundleContext(); installSupportingBundles(bundleContext); resolveBundle(bundleContext); } finally { try { framework.stop(); framework.waitForStop(10000); } catch (InterruptedException ie) { } catch (BundleException be) { } } } private Framework launchEquinox() throws BundleException, ValidationFailedException { ServiceLoader<FrameworkFactory> serviceLoader = ServiceLoader.load(FrameworkFactory.class, BundleResolutionValidator.class.getClassLoader()); FrameworkFactory frameworkFactory = serviceLoader.iterator().next(); Map<String, String> config = new HashMap<String, String>(); config.put("osgi.clean", "true"); config.put("osgi.configuration.area", new File("target").getAbsolutePath()); config.put("osgi.install.area", new File("target").getAbsolutePath()); config.put("osgi.framework", getUrlString(equinoxJar)); Framework framework = frameworkFactory.newFramework(config); framework.start(); return framework; } private void installSupportingBundles(BundleContext bundleContext) throws ValidationFailedException { List<String> failures = new ArrayList<String>(); System.out.println("Installing bundles... "); for (File supportingBundle : supportingBundles) { try { installBundle(bundleContext, supportingBundle); } catch (BundleException e) { failures.add(supportingBundle.toURI().toString()); } } } private void resolveBundle(BundleContext bundleContext) throws ValidationFailedException { Bundle bundle; try { bundle = installBundle(bundleContext, this.bundle); } catch (BundleException e) { String message = createFailureMessage(Arrays.asList(this.bundle.toURI().toString()), "The following bundles failed to install:"); throw new ValidationFailedException(message, e); } ServiceReference packageAdminReference = bundleContext.getServiceReference(PackageAdmin.class.getName()); PackageAdmin packageAdmin = (PackageAdmin) bundleContext.getService(packageAdminReference); System.out.println("Resolving bundles..."); packageAdmin.resolveBundles(new Bundle[] { bundle }); System.out.println(" " + bundle + " " + stateToString(bundle.getState())); reportFailureIfNecessary(bundleContext); } private void reportFailureIfNecessary(BundleContext bundleContext) throws ValidationFailedException { ServiceReference platformAdminReference = bundleContext.getServiceReference(PlatformAdmin.class.getName()); PlatformAdmin platformAdmin = (PlatformAdmin) bundleContext.getService(platformAdminReference); State state = platformAdmin.getState(false); boolean failureFound = false; for (BundleDescription description : state.getBundles()) { if (!description.isResolved()) { if (!failureFound) { System.out.println("Resolution failures..."); } failureFound = true; System.out.println(" " + description.toString() + " failed to resolve:"); ResolverError[] resolverErrors = state.getResolverErrors(description); for (ResolverError resolverError : resolverErrors) { System.out.println(" " + resolverError); } } } if (failureFound) { throw new ValidationFailedException("Resolution failed"); } } private Bundle installBundle(BundleContext bundleContext, File bundleFile) throws BundleException { try { String bundleUri = bundleFile.toURI().toString(); Bundle bundle = bundleContext.installBundle(bundleUri); System.out.println(" Installed " + bundle); return bundle; } catch (BundleException e) { System.out.println(" " + bundleFile + " failed to install: " + e.getMessage()); throw e; } } private void printValidationInformation() { System.out.println(String.format("Validating bundle:%n %s", bundle.getAbsolutePath())); System.out.println("Validating against:"); for (File supportingBundle : supportingBundles) { System.out.println(" " + supportingBundle.getAbsolutePath()); } } private String stateToString(int state) { switch (state) { case Bundle.ACTIVE: return "ACTIVE"; case Bundle.INSTALLED: return "INSTALLED"; case Bundle.RESOLVED: return "RESOLVED"; case Bundle.STARTING: return "STARTING"; case Bundle.STOPPING: return "STOPPING"; case Bundle.UNINSTALLED: return "UNINSTALLED"; default: return "UNKNOWN"; } } private String createFailureMessage(List<String> failures, String reason) { StringWriter stringWriter = new StringWriter(); PrintWriter writer = new PrintWriter(stringWriter); writer.println(reason); for (String failure : failures) { writer.println(" " + failure); } return stringWriter.toString(); } private String getUrlString(File f) throws ValidationFailedException { try { return f.toURI().toURL().toString(); } catch (MalformedURLException e) { throw new ValidationFailedException("Invalid file location", e); } } } ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/������������������������������������0000755�0001750�0001750�00000000000�11434454561�024573� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/resources/��������������������������0000755�0001750�0001750�00000000000�11434454561�026605� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/resources/bundles/������������������0000755�0001750�0001750�00000000000�11434454561�030241� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/resources/bundles/a/����������������0000755�0001750�0001750�00000000000�11434454561�030461� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/resources/bundles/a/META-INF/�������0000755�0001750�0001750�00000000000�11434454561�031621� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000151�00000000000�011562� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/resources/bundles/a/META-INF/MANIFEST.MF������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/resources/bundles/a/META-INF/MANIFES0000644�0001750�0001750�00000000154�11434454561�032626� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-SymbolicName: a Export-Package: a Bundle-Version: 1.0��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/resources/bundles/b/����������������0000755�0001750�0001750�00000000000�11434454561�030462� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/resources/bundles/b/META-INF/�������0000755�0001750�0001750�00000000000�11434454561�031622� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000151�00000000000�011562� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/resources/bundles/b/META-INF/MANIFEST.MF������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/resources/bundles/b/META-INF/MANIFES0000644�0001750�0001750�00000000154�11434454561�032627� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-SymbolicName: b Import-Package: a Bundle-Version: 1.0��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/java/�������������������������������0000755�0001750�0001750�00000000000�11434454561�025514� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/java/org/���������������������������0000755�0001750�0001750�00000000000�11434454561�026303� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/java/org/springframework/�����������0000755�0001750�0001750�00000000000�11434454561�031523� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/java/org/springframework/build/�����0000755�0001750�0001750�00000000000�11434454561�032622� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/java/org/springframework/build/osgi/0000755�0001750�0001750�00000000000�11434454561�033563� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000157�00000000000�011570� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/java/org/springframework/build/osgi/validator/������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/java/org/springframework/build/osgi/0000755�0001750�0001750�00000000000�11434454561�033563� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000222�00000000000�011561� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/java/org/springframework/build/osgi/validator/BundleResolutionValidatorTests.java�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/src/test/java/org/springframework/build/osgi/0000644�0001750�0001750�00000003074�11434454561�033571� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * Copyright 2010 SpringSource * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.build.osgi.validator; import java.io.File; import java.net.URISyntaxException; import java.util.Arrays; import org.junit.Test; public class BundleResolutionValidatorTests { @Test public void successfulValidation() throws ValidationFailedException, URISyntaxException { BundleResolutionValidator validator = new BundleResolutionValidator(new File("src/test/resources/bundles/a"), Arrays.asList(new File( "src/test/resources/bundles/b"))); validator.validate(); } @Test(expected = ValidationFailedException.class) public void failingValidation() throws ValidationFailedException, URISyntaxException { BundleResolutionValidator validator = new BundleResolutionValidator(new File("src/test/resources/bundles/b"), Arrays.<File> asList()); try { validator.validate(); } catch (ValidationFailedException vfe) { vfe.printStackTrace(System.out); throw vfe; } } } ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/test.xml�������������������������������������0000644�0001750�0001750�00000001734�11434454561�024533� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <project name="org.springframework.build.osgi.test" xmlns:osgi="antlib:org.springframework.build.osgi" xmlns:ivy="antlib:org.apache.ivy.ant"> <import file="${basedir}/spring-build/common/common.xml"/> <target name="test" depends="ivy.init, resolve.compile, test.init"> <ivy:cachepath resolveId="equinox" pathid="equinox" organisation="org.eclipse.osgi" module="org.eclipse.osgi" revision="3.5.0.v20090311-1300" transitive="false" type="jar" inline="true" log="download-only"/> <osgi:validate bundlePath="${jar.output.file}"> <equinoxPath refid="equinox"/> <supportingBundlesPath refid="compile.classpath"/> </osgi:validate> </target> <target name="test.init"> <taskdef resource="org/springframework/build/osgi/antlib.xml" uri="antlib:org.springframework.build.osgi"> <classpath> <pathelement path="${jar.output.file}"/> <path refid="compile.classpath"/> </classpath> </taskdef> </target> </project> ������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/.settings/�����������������������������������0000755�0001750�0001750�00000000000�11434454561�024743� 5����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000154�00000000000�011565� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/.settings/org.springframework.ide.eclipse.core.prefs���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/.settings/org.springframework.ide.eclipse.cor0000644�0001750�0001750�00000026141�11434454561�033645� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#Wed May 27 12:10:06 BST 2009 eclipse.preferences.version=1 org.springframework.ide.eclipse.core.builders.enable.aopreferencemodelbuilder=true org.springframework.ide.eclipse.core.builders.enable.beanmetadatabuilder=true org.springframework.ide.eclipse.core.builders.enable.osgibundleupdater=true org.springframework.ide.eclipse.core.enable.project.preferences=false org.springframework.ide.eclipse.core.validator.enable.com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.enable.com.springsource.sts.bestpractices.beansvalidator=true org.springframework.ide.eclipse.core.validator.enable.com.springsource.sts.server.quickfix.manifestvalidator=true org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.core.springvalidator=false org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.applicationSymbolicNameRule-com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.applicationVersionRule-com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleActivationPolicyRule-com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleActivatorRule-com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleManifestVersionRule-com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleNameRule-com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleSymbolicNameRule-com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleVersionRule-com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.exportPackageRule-com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.importRule-com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.parsingProblemsRule-com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.requireBundleRule-com.springsource.server.ide.manifest.core.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.AvoidDriverManagerDataSource-com.springsource.sts.bestpractices.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.ImportElementsAtTopRulee-com.springsource.sts.bestpractices.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.ParentBeanSpecifiesAbstractClassRule-com.springsource.sts.bestpractices.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.RefElementRule-com.springsource.sts.bestpractices.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.TooManyBeansInFileRule-com.springsource.sts.bestpractices.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.UnnecessaryValueElementRule-com.springsource.sts.bestpractices.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.UseBeanInheritance-com.springsource.sts.bestpractices.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.legacyxmlusage.jndiobjectfactory-com.springsource.sts.bestpractices.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.server.quickfix.importBundleVersionRule-com.springsource.sts.server.quickfix.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.server.quickfix.importLibraryVersionRule-com.springsource.sts.server.quickfix.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.server.quickfix.importPackageVersionRule-com.springsource.sts.server.quickfix.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.server.quickfix.requireBundleVersionRule-com.springsource.sts.server.quickfix.manifestvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanAlias-org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanClass-org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanConstructorArgument-org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinition-org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinitionHolder-org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanFactory-org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanInitDestroyMethod-org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanReference-org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.methodOverride-org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.parsingProblems-org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.requiredProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=false org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.core.springClasspath-org.springframework.ide.eclipse.core.springvalidator=false org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.action-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.actionstate-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attribute-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attributemapper-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.beanaction-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationaction-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationresult-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.exceptionhandler-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.import-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.inputattribute-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.mapping-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.outputattribute-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.set-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.state-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.subflowstate-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.transition-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.variable-org.springframework.ide.eclipse.webflow.core.validator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.webflowstate-org.springframework.ide.eclipse.webflow.core.validator=true �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000157�00000000000�011570� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/.settings/org.eclipse.wst.common.project.facet.core.xml������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/.settings/org.eclipse.wst.common.project.face0000644�0001750�0001750�00000000220�11434454561�033537� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <faceted-project> <installed facet="com.springsource.server.bundle" version="1.0"/> </faceted-project> ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������././@LongLink���������������������������������������������������������������������������������������0000000�0000000�0000000�00000000160�00000000000�011562� L����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/.settings/com.springsource.server.ide.bundlor.core.prefs�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������spring-build-2.7.0.orig/org.springframework.build.osgi/.settings/com.springsource.server.ide.bundlor0000644�0001750�0001750�00000000200�11434454561�033667� 0����������������������������������������������������������������������������������������������������ustar �drazzib�������������������������drazzib����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#Wed May 27 12:10:06 BST 2009 com.springsource.server.ide.bundlor.core.template.properties.files= eclipse.preferences.version=1 ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������