Issue Details (XML | Word | Printable)

Key: IVYDE-39
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Xavier Hanin
Reporter: easyproglife
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IvyDE

No debug info in console.

Created: 20/Oct/06 08:58 AM   Updated: 26/Mar/08 10:37 AM
Return to search
Component/s: None
Affects Version/s: 1.1.0
Fix Version/s: 2.0.0.alpha1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works IVYDE-39-r595956.patch 2007-11-17 03:05 PM Nicolas Lalevée 2 kB
Text File IVYDE-39.patch 2007-01-25 04:32 PM Eugene Goldfarb 3 kB
Environment: Eclipse 3.2 WinXP Java 5
Issue Links:
Duplicate
 

Resolution Date: 26/Mar/08 10:36 AM


 Description  « Hide
I can't find the debug information in the IvyConsole.

I need it to investigate why Ivy doesn't find my stuff on my local repo.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Maarten Coene added a comment - 20/Oct/06 09:01 AM
Same problem with Eclipse 3.2.1, windows 2000 and Java 1.4

Maarten


Xavier Hanin added a comment - 22/Oct/06 08:32 AM
I'm also investigating on this issue, and it seems that the problem is the same with eclipse 3.1. I think it's related to Ivy change itself, because now Message try to use ant task for logging, and this may cause the problem. I should have time this afternoon to investigate more and find a fix.

For moving ivyde to svn, the problem is that IvyDE still uses a build which can be used only in jayasoft environment. So I have to adapt the build to a public environment, and I'll certainly also lose our internal continuous build with that. But this is something that needs to be done, so I hope I'll find enough motivation soon! It would really help the development, so I'll do my best.


Xavier Hanin added a comment - 22/Oct/06 09:11 AM
I finally decided to take time to move IvyDE to SVN. The build is very basic for the moment, but it will help further contributions.

Xavier Hanin added a comment - 22/Oct/06 10:34 AM
The problem was actually due to changes in Ivy, but it was possible to fix it in IvyDE only. Actually tools using Ivy in multiple threads need to set the IvyContext in each thread for Ivy to work properly. According to my tests the version I just checked in fix this problem.

easyproglife added a comment - 22/Oct/06 07:27 PM
I downgraded to IveDE 1.0.3 and now the IvyConsole is full of details as expected

I don't know what went wrong between versions but IvyDE 1.1.0 definitely doesn't outputs so much.

I suspect that some caching is used. I have to look at the source code.

Xavier, why isn't it a simple task to publish the IvyDE SVN as Ivy and IvyCruise? The public SVN already exists. Right?


Eugene Goldfarb added a comment - 29/Nov/06 09:06 AM
I am not able to reopen this issue, but it is still not fully fixed.
Actually, even with IvyDE 1.2.0, there is still a lot of logging going to standard out/error. There were a few spots where new threads are created but the console is not bound to the IvyContext. I made the necessary changes and now everything is going to the ivy console. I also cleaned up exception handlers which were just doing e.printStackTrace(). Don't we all love Eclipse's auto-generated catch blocks?

Patch file against IvyDE 1.2.0 (SVN rev. 605) is attached. Please consider adding to next release.


Xavier Hanin added a comment - 29/Nov/06 04:52 PM
Thanks for your patch and your investigations! I reopen the issue, will apply the patch soon.

Xavier Hanin made changes - 16/Sep/07 06:38 PM
Field Original Value New Value
Fix Version/s 1.1.1 [ 12312430 ]
Fix Version/s 1.3.0 [ 12312463 ]
Nicolas Lalevée added a comment - 17/Nov/07 03:05 PM
Patch updated against the trunk

Nicolas Lalevée made changes - 17/Nov/07 03:05 PM
Attachment IVYDE-39-r595956.patch [ 12369723 ]
Xavier Hanin added a comment - 19/Nov/07 02:26 PM
With the latest trunk version and the new logging API, I don't think the context/logging mismatch which you nicely fixed can still happen, since the IvyConsole is now registered as a default logger to which all Ivy operations should finally delegate their logging work.

So I think this issue can be marked as resolved, but I haven't enough time to make more tests right now, so I let it open for a while. If you see any problem with the trunk version, feel free to comment on this issue or on the dev list.


Nicolas Lalevée added a comment - 20/Nov/07 09:36 AM
well, at least works for me

Nicolas Lalevée added a comment - 26/Mar/08 10:36 AM
There were no complain since a while, so I assume it is fixed.

Nicolas Lalevée made changes - 26/Mar/08 10:36 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Repository Revision Date User Message
ASF #641240 Wed Mar 26 10:37:05 UTC 2008 hibou IVYDE-39: No debug info in console
 - update the change log: Xavier fixed it within the commit r596305
Files Changed
MODIFY /ant/ivy/ivyde/trunk/CHANGES.txt

Nicolas Lalevée made changes - 26/Mar/08 10:37 AM
Link This issue is duplicated by IVYDE-33 [ IVYDE-33 ]
Repository Revision Date User Message
ASF #659659 Fri May 23 21:03:29 UTC 2008 hibou IVYDE-40: it probably have been fixed with IVYDE-39
Files Changed
MODIFY /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/CHANGES.txt