• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse/Ant Building The World

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have two projects in Eclipse, both using Ant builders. One is called Clients and the other Profile. Profile imports some jars built by Clients.
When I do a clean on Profile, something (Ant or Eclipse) forces a clean build of Clients as well--even though no code changed on this project.

I'm not aware of any specific defined dependencies between the projects other than Profile consuming Client's jars from a deploy directory (not directly from the Clients project directory).

I'm not 100% sure but my gut tells me Ant is doing the double-cleans.

Any ideas why this might be happening appreciated!
Greg
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greg, welcome to Java Ranch!

Unless there is something specific in the Ant script that causes this, I would would blame Eclipse. You can test this by running the ant build for Profile from a command line.


In the project properties for both projects, what is in the Java Build Path, specifically in the Projects tab?
 
a wee bit from the empire
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic