ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-371

ICEpush-EE src bundle build fails if no "svn" exec is present at build time

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.BETA
    • Fix Version/s: EE-3.0.0.GA
    • Labels:
      None
    • Environment:
      ICEpush EE 3

      Description

      The source bundle build for ICEfaces EE 3.0.0.BETA fails if no "svn" executable is found at build time.


      C:\IceFaces\ICEFaces-EE-3.0.0.BETA\ICEfaces-EE-3.0.0.BETA-src\ICEfaces-EE-3.0.0.BETA-src\icepush-ee\core-ee\build.xml:45: Execute failed: java.io.IOException: Cannot run program "svn" (in directory "C:\IceFaces\ICEFaces-EE-3.0.0.BETA\ICEfaces-EE-3.0.0.BETA-src\ICEfaces-EE-3.0.0.BETA-src\icepush-ee\c
      ore-ee"): CreateProcess error=2, The system cannot find the file specified
              at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
              at java.lang.Runtime.exec(Runtime.java:593)
              at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
              at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
              at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
              at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
              at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
              at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
              at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
              at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ken Fyten made changes -
        Description The source bundle build for ICEfaces EE 3.0.0.BETA fails if no "svn" executable is found at build time.

        The source bundle build for ICEfaces EE 3.0.0.BETA fails if no "svn" executable is found at build time.


        C:\IceFaces\ICEFaces-EE-3.0.0.BETA\ICEfaces-EE-3.0.0.BETA-src\ICEfaces-EE-3.0.0.BETA-src\icepush-ee\core-ee\build.xml:45: Execute failed: java.io.IOException: Cannot run program "svn" (in directory "C:\IceFaces\ICEFaces-EE-3.0.0.BETA\ICEfaces-EE-3.0.0.BETA-src\ICEfaces-EE-3.0.0.BETA-src\icepush-ee\c
        ore-ee"): CreateProcess error=2, The system cannot find the file specified
                at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
                at java.lang.Runtime.exec(Runtime.java:593)
                at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
                at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
                at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
                at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
                at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
                at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
                at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
                at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        Arran Mccullough made changes -
        Salesforce Case [5007000000LEv3v]
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Ken Fyten added a comment -

        Added "failifexecutionfails='false'" to svn exec command in build.xml to avoid src bundle failures when svn is not present.

        Show
        Ken Fyten added a comment - Added "failifexecutionfails='false'" to svn exec command in build.xml to avoid src bundle failures when svn is not present.
        Ken Fyten made changes -
        Salesforce Case []
        Description The source bundle build for ICEfaces EE 3.0.0.BETA fails if no "svn" executable is found at build time.

            [javac] Compiling 328 source files to /Users/Ken/Code/svn/icefaces-3.0.x-maintenance/icefaces/samples/showcase/showcase/build/classes
            [javac] /Users/Ken/Code/svn/icefaces-3.0.x-maintenance/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/dataTable/DataTableBean.java:63: cannot find symbol
            [javac] symbol: variable DataTableGrouping
            [javac] @MenuLink(title = "menu.ace.dataTable.subMenu.grouping", exampleBeanName = DataTableGrouping.BEAN_NAME)
            [javac] ^
            [javac] Note: /Users/Ken/Code/svn/icefaces-3.0.x-maintenance/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/compat/outputResource/OutputResourceBean.java uses or overrides a deprecated API.
            [javac] Note: Recompile with -Xlint:deprecation for details.
            [javac] Note: Some input files use unchecked or unsafe operations.
            [javac] Note: Recompile with -Xlint:unchecked for details.
            [javac] 1 error

        BUILD FAILED
        /Users/Ken/Co
        The source bundle build for ICEfaces EE 3.0.0.BETA fails if no "svn" executable is found at build time.

        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Component/s Release [ 10036 ]
        Description The source bundle build for ICEfaces EE 3.0.0.BETA fails if no "svn" executable is found at build time.

        The source bundle build for ICEfaces EE 3.0.0.BETA fails if no "svn" executable is found at build time.

            [javac] Compiling 328 source files to /Users/Ken/Code/svn/icefaces-3.0.x-maintenance/icefaces/samples/showcase/showcase/build/classes
            [javac] /Users/Ken/Code/svn/icefaces-3.0.x-maintenance/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/dataTable/DataTableBean.java:63: cannot find symbol
            [javac] symbol: variable DataTableGrouping
            [javac] @MenuLink(title = "menu.ace.dataTable.subMenu.grouping", exampleBeanName = DataTableGrouping.BEAN_NAME)
            [javac] ^
            [javac] Note: /Users/Ken/Code/svn/icefaces-3.0.x-maintenance/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/compat/outputResource/OutputResourceBean.java uses or overrides a deprecated API.
            [javac] Note: Recompile with -Xlint:deprecation for details.
            [javac] Note: Some input files use unchecked or unsafe operations.
            [javac] Note: Recompile with -Xlint:unchecked for details.
            [javac] 1 error

        BUILD FAILED
        /Users/Ken/Co
        Ken Fyten created issue -

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: