tags:

views:

34

answers:

1

Exporting a project as a runnable jar takes approx 30sec to build, the (auto created) Ant script that does the same takes about 10 minutes to build.

What am I missing?

+2  A: 

If you create things from Eclipse all components are already compiled whereas if you do this via a ant script everything must be compiled from the scratch so i would expect differences in compile/build time.

khmarbaise
is there any way to speed it up?
Chris
@Chris, maybe if you show us the Ant script, we can help you...
romaintaz
If you're absolutely positively sure that Eclipse has everything compiled (Project/Build Automatically is turned on), you can skip compiling in Ant entirely, but it's definitely not something I'd recommend. However, you can try it to test if that's the issue.
Domchi