Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-21-2009, 04:58 PM
Member
 
Join Date: Apr 2009
Posts: 1
Rep Power: 0
aiancu is on a distinguished road
Default Eclipse debug when ant uses temp files
Hello,

I am bit of a newb with Eclipse and I am looking for guidance of how to adapt an existing batch/ant build system to Eclipse. My build environment takes a set of java and resource files, and uses an ant script to create a temp folder containing all preprocessed files and desired resources. It then proceeds to another ant task that compiles and creates the .jar

I am able to set Eclipse to use the ant script to build everything, in effect replicating a call from the command shell to ant. My greatest problem is debugging. All break points are lost because ant preprocesses the source files to new temp java files and only then it compiles them, in fact removing any debug info. How can I get around this issue and have my cake (temp directory) and eat it too (debug in eclipse)? Currently I am taking the temp files and creating the Eclipse project from there, however any change made to that code has to be merged into the main code base afterward.

Thank you for any hints or suggestions. I have searched far and wide on the net but I didn't find a similar situation.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Eclipse debug tutorial -help needed!! Triji Eclipse 1 01-27-2009 02:38 PM
How to enable debug mode in eclipse msgbharath New To Java 3 01-10-2009 03:20 AM
Cannot debug on Eclipse.. and other IDE pexlee Eclipse 0 09-26-2008 06:07 PM
Debug JAR files used in an external application ragnarahk Eclipse 0 09-22-2008 06:36 PM
how to debug java code in eclipse rajesh058 Advanced Java 3 07-26-2007 12:19 AM


All times are GMT +2. The time now is 11:04 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org