~ubuntu-branches/ubuntu/oneiric/ivy/oneiric

« back to all changes in this revision

Viewing changes to src/java/org/apache/ivy/plugins/resolver/FileSystemResolver.java

  • Committer: Bazaar Package Importer
  • Author(s): Miguel Landaeta
  • Date: 2011-02-06 20:56:32 UTC
  • mfrom: (3.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110206205632-sqhg7bx09z0ywj79
Tags: 2.2.0-1
* New upstream release.
* Update pom.xml to the latest version.
* Add Build-Depends and Suggests on libbcprov-java and libbcpg-java.
* Add mh_clean call in clean target.
* Bump Standards-Version to 3.9.1. No changes were required.
* Add myself to Uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
279
279
    }
280
280
 
281
281
    private void initTransaction(ModuleRevisionId module) {
 
282
        ModuleRevisionId mrid = module;
 
283
        if (isM2compatible()) {
 
284
            mrid = convertM2IdForResourceSearch(module);
 
285
        }
 
286
        
282
287
        transactionTempDir = Checks.checkAbsolute(IvyPatternHelper.substitute(
283
288
            baseTransactionPattern, 
284
289
            ModuleRevisionId.newInstance(
285
 
                module, module.getRevision() + TRANSACTION_DESTINATION_SUFFIX)),
 
290
                mrid, mrid.getRevision() + TRANSACTION_DESTINATION_SUFFIX)),
286
291
                "baseTransactionPattern");
287
292
        transactionDestDir = Checks.checkAbsolute(IvyPatternHelper.substitute(
288
 
            baseTransactionPattern, module), "baseTransactionPattern");
 
293
            baseTransactionPattern, mrid), "baseTransactionPattern");
289
294
    }
290
295
 
291
296
    public String getTransactional() {