Child pages
  • HowTOs

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

I started the building procedure and it takes too long to build. While hanging it prints the following output ...

Wiki Markup...
ivy-checkout: \
[svn\] <Checkout> started ...

#toc

ANSWER:

This usualy happens the first time you build the demo project. During that operation it downloads a banch of JAR files from our Ivy repositories.
This procedure might take a few minutes to complete. That depends on your network connection speed.

...

When building I get the error message like:

Wiki Markupcompile: \
[apt\] Since compiler setting isn't classic or modern,ignoring fork setting. \
[apt\] Compiling 7 source files to d:\projects\companies\Anotheria\demo\build\classes \
[apt\] Since compiler setting isn't classic or modern,ignoring fork setting. \
[apt\] d:\projects\companies\Anotheria\demo\java\org\distributeme\demo\GettingStartedService.java:3: cannot access net.anotheria.anoprise.metafactory.Service \
[apt\] bad class file: d:\projects\companies\Anotheria\demo\lib\ano-prise.jar(net/anotheria/anoprise/metafactory/Service.class) \
[apt\] class file has wrong version 50.0, should be 49.0 \
[apt\] Please remove or make sure it appears in the correct subdirectory of the classpath. \
[apt\] import net.anotheria.anoprise.metafactory.Service; \
[apt\] ^ \[apt\] ^
[apt] d:\projects\companies\Anotheria\demo\java\org\distributeme\demo\GettingStartedService.java:3: cannot access net.anotheria.anoprise.metafactory.Service \
[apt\] bad class file: d:\projects\companies\Anotheria\demo\lib\ano-prise.jar(net/anotheria/anoprise/metafactory/Service.class) \
[apt\] class file has wrong version 50.0, should be 49.0 \
[apt\] Please remove or make sure it appears in the correct subdirectory of the classpath. \
[apt\] import net.anotheria.anoprise.metafactory.Service; \
[apt\] ^ \[apt\] 1 ^
[apt] 1 error

BUILD FAILED
d:\projects\companies\Anotheria\build\basic-project.xml:22: The following error occurred while executing this line:
d:\projects\companies\Anotheria\demo\build.xml:18: Compile failed; see the compiler error output for details.

Total time: 27 minutes 2 seconds

...

  • get distributeme project from our SVN repository http://svn.anotheria.net/opensource/distributeme/trunk as ~/projects/dime/distributeme folder
  • perform commands
    unmigrated-wiki-markup

    igor@igorlap:~/projects/dime$ cd \ ~/projects/dime/distributeme
    igor@igorlap:~/projects/dime/distributeme$ ant \ -f build-registry.xml war
    Buildfile: build-registry.xml
    ...
    war: \
    [war\] Building war: /home/igor/projects/dime/distributeme/dist/distributeme.war

    BUILD SUCCESSFUL
    Total time: 4 seconds

...