Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ant package fails #1

Open
vshvedov opened this issue Aug 3, 2015 · 7 comments
Open

ant package fails #1

vshvedov opened this issue Aug 3, 2015 · 7 comments

Comments

@vshvedov
Copy link

vshvedov commented Aug 3, 2015

What Java version is needed or what could be wrong, because when doing ant package I have https://gist.github.com/vshvedov/8e8ebffc97e3d4bc3921

Any ideas?

@vshvedov
Copy link
Author

vshvedov commented Aug 4, 2015

Just tried on both 1.7 and 1.8 Oracle's Java, and it gives me the same output and doesn't build.

@snoodlupa
Copy link

Yes, me too. Any suggestion?

@shathil
Copy link

shathil commented Oct 3, 2015

Hi
Sorry for the late reply. I have rechecked and found that ant is working fine and the build was successful.

clean:
[echo] Cleaning build
[delete] Deleting directory /data/Hoque/maui-2/build

build:
[echo] Creating the build directory
[mkdir] Created dir: /data/Hoque/maui-2/build/classes
[echo] Compiling the source code
[javac] Compiling 24 source files to /data/Hoque/maui-2/build/classes

package:
[echo] Creating the jar file
[mkdir] Created dir: /data/Hoque/maui-2/build/jar
[jar] Building jar: /data/Hoque/maui-2/build/jar/maui-2.jar

BUILD SUCCESSFUL
Total time: 4 seconds

My Java Version is the following

java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-1~deb7u1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)

@snoodlupa
Copy link

What version of ant are you using? I use ant 1.9.6, but Java 1.8

@snoodlupa
Copy link

@shathil can you attach all the jar builded? Thanks

@Fadejimi
Copy link

Fadejimi commented Feb 5, 2016

I had the same issue, some of the libraries are not available had to download them and put them there. You just have to trace the error code to download the required jar files.

@jyang-trellist
Copy link

as Fadejimi stated, need additional jar files not in the lib folder.
jena.jar
org.apache.commons.io.jar
snowball-1.0.jar
All 3 jar files can be obtained from http://www.java2s.com/Code/Jar/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants