planetfederal / GeoExplorer

Notice: This application has been folded into the OpenGeo Suite repository
https://github.com/opengeo/suite/blob/dev/geoexplorer/README.md
BSD 3-Clause "New" or "Revised" License
78 stars 60 forks source link

Trouble on "ant dist" #19

Closed netinhoteixeira closed 12 years ago

netinhoteixeira commented 12 years ago

After I got the source from git, when I type $ant dist, the error occurs:

C:\Clientes\GeoExplorer>ant dist Buildfile: C:\Clientes\GeoExplorer\build.xml

init: [echo] pulling in submodules [exec] Submodule 'app/static/externals/GeoExt' () registered for path 'app/static/externals/GeoExt' [exec] Submodule 'app/static/externals/PrintPreview' () registered for path 'app/static/externals/PrintPreview' [exec] Submodule 'app/static/externals/gxp' () registered for path 'app/static/externals/gxp' [exec] Submodule 'app/static/externals/openlayers' () registered for path 'app/static/externals/openlayers' [exec] Submodule 'externals/buildkit' () registered for path 'externals/buildkit' [exec] Submodule 'externals/ringojs' () registered for path 'externals/ringojs' [exec] Submodule 'externals/ringojs-fork' () registered for path 'externals/ringojs-fork' [exec] Submodule 'externals/stick' () registered for path 'externals/stick'

 [exec] Synchronizing submodule url for 'app/static/externals/GeoExt'
 [exec] Synchronizing submodule url for 'app/static/externals/PrintPreview'
 [exec] Synchronizing submodule url for 'app/static/externals/gxp'
 [exec] Synchronizing submodule url for 'app/static/externals/openlayers'
 [exec] Synchronizing submodule url for 'externals/buildkit'
 [exec] Synchronizing submodule url for 'externals/ringojs'
 [exec] Synchronizing submodule url for 'externals/ringojs-fork'
 [exec] Synchronizing submodule url for 'externals/stick'
 [exec] fatal: Needed a single revision
 [exec] Unable to find current revision in submodule path 'externals/stick'

BUILD FAILED C:\Clientes\GeoExplorer\build.xml:32: exec returned: 1

Total time: 1 minute 11 seconds

C:\Clientes\GeoExplorer>

bartvde commented 12 years ago

just checkout on current master, works fine there, co closing:

bart-van-den-eijndens-macbook-pro:GeoExplorer bartvde$ ant dist
Buildfile: /private/tmp/GeoExplorer/build.xml

init:
     [echo] pulling in submodules
     [exec] Submodule 'app/static/externals/GeoExt' (git://github.com/geoext/geoext.git) registered for path 'app/static/externals/GeoExt'
     [exec] Submodule 'app/static/externals/PrintPreview' (git://github.com/GeoNode/PrintPreview.git) registered for path 'app/static/externals/PrintPreview'
     [exec] Submodule 'app/static/externals/gxp' (git://github.com/opengeo/gxp.git) registered for path 'app/static/externals/gxp'
     [exec] Submodule 'app/static/externals/openlayers' (git://github.com/openlayers/openlayers.git) registered for path 'app/static/externals/openlayers'
     [exec] Submodule 'externals/buildkit' (git://github.com/opengeo/buildkit.git) registered for path 'externals/buildkit'
     [exec] Submodule 'externals/ringojs' (git://github.com/ringo/ringojs.git) registered for path 'externals/ringojs'
     [exec] Submodule 'externals/ringojs-fork' (git://github.com/tschaub/ringojs.git) registered for path 'externals/ringojs-fork'
     [exec] Submodule 'externals/stick' (https://github.com/hns/stick.git) registered for path 'externals/stick'
     [exec] Synchronizing submodule url for 'app/static/externals/GeoExt'
     [exec] Synchronizing submodule url for 'app/static/externals/PrintPreview'
     [exec] Synchronizing submodule url for 'app/static/externals/gxp'
     [exec] Synchronizing submodule url for 'app/static/externals/openlayers'
     [exec] Synchronizing submodule url for 'externals/buildkit'
     [exec] Synchronizing submodule url for 'externals/ringojs'
     [exec] Synchronizing submodule url for 'externals/ringojs-fork'
     [exec] Synchronizing submodule url for 'externals/stick'
     [exec] Cloning into 'app/static/externals/GeoExt'...
     [exec] Submodule path 'app/static/externals/GeoExt': checked out 'd4361b43d05fbede8b880fdb06a26c5dc8b927ab'
     [exec] Cloning into 'app/static/externals/PrintPreview'...
     [exec] Submodule path 'app/static/externals/PrintPreview': checked out 'db3f01582b7242161fa92d5a25da18ed954aa8ae'
     [exec] Cloning into 'app/static/externals/gxp'...
     [exec] Submodule path 'app/static/externals/gxp': checked out 'f675772bd44b47f1640c0528ff6ca2f6ea2e5fe6'
     [exec] Cloning into 'app/static/externals/openlayers'...
     [exec] Submodule path 'app/static/externals/openlayers': checked out '87e7cfe29c80cdc147559bb79c723e87a5a3b42c'
     [exec] Cloning into 'externals/buildkit'...
     [exec] Submodule path 'externals/buildkit': checked out '6919b0c4d456355706de987a47f7c5025b4dfb35'
     [exec] Cloning into 'externals/ringojs'...
     [exec] Submodule path 'externals/ringojs': checked out '46b7c55350ec82a7d1d484515d7f49be7e7134fd'
     [exec] Cloning into 'externals/ringojs-fork'...
     [exec] Submodule path 'externals/ringojs-fork': checked out '298e62daa64923b7bc1e4a085233529f907ba7bf'
     [exec] Cloning into 'externals/stick'...
     [exec] Submodule path 'externals/stick': checked out '7c032974fa547cd8acd818a5737d6acc320ce25d'
     [echo] building ringo jars

init:

compile:
    [mkdir] Created dir: /private/tmp/GeoExplorer/build/classes
    [javac] Compiling 49 source files to /private/tmp/GeoExplorer/build/classes

jar:
      [jar] Building jar: /private/tmp/GeoExplorer/externals/ringojs-fork/lib/ringo.jar
      [jar] Building jar: /private/tmp/GeoExplorer/externals/ringojs-fork/run.jar
     [copy] Copying 1 file to /private/tmp/GeoExplorer/externals/ringojs-fork/lib

test:
     [java] ================================================================================
     [java] + Running test: app ...
     [java]    + Running test: root ...
     [java]      + Running test: maps ...
     [java]        + Running test: create ... PASSED (17 ms)
     [java]        + Running test: list ... PASSED (15 ms)
     [java]        + Running test: read ... PASSED (23 ms)
     [java]        + Running test: update ... PASSED (69 ms)
     [java]        + Running test: delete ... PASSED (13 ms)
     [java]        + Running test: getDb(default) ... PASSED (2 ms)
     [java]        + Running test: getDb(custom init parameter) ... PASSED (14 ms)
     [java]        + Running test: getDb(custom system property) ... PASSED (13 ms)
     [java]        + Running test: getDb(precedence) ... PASSED (6 ms)
     [java]      + Running test: proxy ...
     [java]        + Running test: getUrlProps ... PASSED (29 ms)
     [java]        + Running test: createProxyRequestProps ... PASSED (19 ms)
     [java] --------------------------------------------------------------------------------
     [java] Executed 11 tests in 220 ms 
     [java] Passed 11; Failed 0; Errors 0;

buildjs:
    [mkdir] Created dir: /private/tmp/GeoExplorer/build/geoexplorer/WEB-INF/app/static/script

redist:
     [copy] Copying 2 files to /private/tmp/GeoExplorer/build/geoexplorer
     [copy] Copying 29 files to /private/tmp/GeoExplorer/build/geoexplorer/WEB-INF/lib
     [copy] Copying 75 files to /private/tmp/GeoExplorer/build/geoexplorer/WEB-INF/app
     [copy] Copying 23 files to /private/tmp/GeoExplorer/build/geoexplorer/WEB-INF/app/stick
     [copy] Copying 332 files to /private/tmp/GeoExplorer/build/geoexplorer/WEB-INF/app/static/externals/ext
     [copy] Copying 38 files to /private/tmp/GeoExplorer/build/geoexplorer/WEB-INF/app/static/externals/openlayers/theme
     [copy] Copying 12 files to /private/tmp/GeoExplorer/build/geoexplorer/WEB-INF/app/static/externals/GeoExt/resources
     [copy] Copying 97 files to /private/tmp/GeoExplorer/build/geoexplorer/WEB-INF/app/static/externals/gxp/src/theme
     [copy] Copying 4 files to /private/tmp/GeoExplorer/build/geoexplorer/WEB-INF/app/static/externals/PrintPreview/resources

postcompile:

dist:

BUILD SUCCESSFUL
Total time: 3 minutes 20 seconds