Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12113

Maven - java.io.IOException: error=2, No such file or directory if in SVN configuration parameters used in Local module directory section

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Jenkins 1.448
      Subversion Plugin 1.37
      Maven Integration Plugin 1.448
      Ant 1.1

      Maven is unable to work if in Subversion configuration parameters are used in Local module directory section.
      As you can see in svn_maven_issue_01.PNG Ive specified predefined variable in Local module directory section. And when I run it - Maven failed (svn_maven_issue_02.PNG) with java.io.IOException.

          [JENKINS-12113] Maven - java.io.IOException: error=2, No such file or directory if in SVN configuration parameters used in Local module directory section

          kutzi added a comment -

          This is arguably no 'Blocker' issue. Blocker is if you can't use something at all - for this issue there are some obvious workarounds.

          kutzi added a comment - This is arguably no 'Blocker' issue. Blocker is if you can't use something at all - for this issue there are some obvious workarounds.

          kutzi added a comment -

          Looks like this can be fixed quite easily by overriding the newer getModuleRoot(s) methods .

          Could you please try the attached updated subversion plugin if it fixes your issue?

          kutzi added a comment - Looks like this can be fixed quite easily by overriding the newer getModuleRoot(s) methods . Could you please try the attached updated subversion plugin if it fixes your issue?

          Oleksandr Popov added a comment - - edited

          Yes! Looks like that fixes the issue...

          Oleksandr Popov added a comment - - edited Yes! Looks like that fixes the issue...

          One little question: when it will be released?

          Oleksandr Popov added a comment - One little question: when it will be released?

          kutzi added a comment -

          Still need to write some unit tests and ask other devs if it's okay to do a release now.
          Hope to have it this weekend or beginning of next week.

          kutzi added a comment - Still need to write some unit tests and ask other devs if it's okay to do a release now. Hope to have it this weekend or beginning of next week.

          Great news! Hope so

          Oleksandr Popov added a comment - Great news! Hope so

          dogfood added a comment -

          Integrated in plugins_subversion #146
          [FIXED JENKINS-12113] local module directory is not expanded with EnvVars (Revision 40279)

          Result = SUCCESS
          kutzi :
          Files :

          • /trunk/hudson/plugins/subversion/src/main/java/hudson/scm/SubversionSCM.java
          • /trunk/hudson/plugins/subversion/src/test/java/hudson/scm/SubversionSCMUnitTest.java

          dogfood added a comment - Integrated in plugins_subversion #146 [FIXED JENKINS-12113] local module directory is not expanded with EnvVars (Revision 40279) Result = SUCCESS kutzi : Files : /trunk/hudson/plugins/subversion/src/main/java/hudson/scm/SubversionSCM.java /trunk/hudson/plugins/subversion/src/test/java/hudson/scm/SubversionSCMUnitTest.java

          kutzi added a comment -

          Will be in subversion-plugin 1.38

          kutzi added a comment - Will be in subversion-plugin 1.38

          Code changed in jenkins
          User: kutzi
          Path:
          src/main/java/hudson/scm/SubversionSCM.java
          src/test/java/hudson/scm/SubversionSCMUnitTest.java
          http://jenkins-ci.org/commit/subversion-plugin/c96f849400174ca476650f2e1b13cd3993027c3b
          Log:
          [FIXED JENKINS-12113] local module directory is not expanded with EnvVars

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: kutzi Path: src/main/java/hudson/scm/SubversionSCM.java src/test/java/hudson/scm/SubversionSCMUnitTest.java http://jenkins-ci.org/commit/subversion-plugin/c96f849400174ca476650f2e1b13cd3993027c3b Log: [FIXED JENKINS-12113] local module directory is not expanded with EnvVars

          Thanks for you help!

          Oleksandr Popov added a comment - Thanks for you help!

            kutzi kutzi
            pxantom Oleksandr Popov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: