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

How to use ant build #12

Closed
baalexander opened this issue Mar 19, 2013 · 3 comments
Closed

How to use ant build #12

baalexander opened this issue Mar 19, 2013 · 3 comments
Assignees
Labels

Comments

@baalexander
Copy link
Contributor

I have a fresh instance of Ubuntu 12.04.

What I've done so far:

  1. sudo apt-get install ant
  2. cd utils
  3. ant build.xml

I then get the following error:

Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar
Buildfile: /home/vagrant/ws/roslibjs/utils/build.xml

BUILD FAILED
Target "build.xml" does not exist in the project "roslibjs". 

Total time: 0 seconds

Any ideas?

@rctoris
Copy link
Contributor

rctoris commented Mar 19, 2013

cd utils
ant

@rctoris
Copy link
Contributor

rctoris commented Mar 19, 2013

you also need sudo apt-get install yui-compressor jsdoc-toolkit

@baalexander
Copy link
Contributor Author

The sudo apt-get install yui-compressor jsdoc-toolkit fixed it.

For others, the steps were:

  1. sudo apt-get install ant yui-compressor jsdoc-toolkit
  2. cd utils
  3. ant

And if ant fails the first time on minimization, just run it again

@ghost ghost assigned rctoris May 7, 2013
k-aguete pushed a commit to k-aguete/roslibjs that referenced this issue Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants