Re: AW: [equinox-dev] OSGi Logger Service <-> Eclipse Plugin Logger

2007-10-08 Thread Niclas Hedhman
On Tuesday 09 October 2007 04:28, Scott Lewis wrote:
> Is there any existing LogService implementation that just prints to
> System.out/System.err...that is in a bundle present for *all* Equinox
> impls (not just Eclipse)?

Equinox in its purest form has no bundles in it besides the system bundle, and 
IIRC the internal Equinox logger is not exposed.

> That is, is there some basic LogService that can be used as a last-ditch
> logging mechanism (if no other LogService is available)?

Pax Logging attempts to provide both OSGi Log Service functionality as well as 
bridging of third-party legacy APIs such as;

 JDK Logging
 Log4J
 Jakarta Commons Logging
 Avalon Logging API
 SLF4J
 KnopflerFish Log
 
Pax Logging consists of 2 bundles. The API bundle must always be present and 
is what all the legacy code will 'bind' into when they lookup a logger the 
respective way. The Service bundle can come and go to allow for upgrade of 
the Log4J driven bakend, without taking down the entire application.
When the Service is not available, the API will revert to System.out (a 
buffering version is under construction).

You find Pax Logging at OPS4J, http://wiki.ops4j.org


Cheers
-- 
Niclas Hedhman, Software Developer

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug
___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] [p2] p2 projects tagged for 3.4 stream integration build

2007-10-08 Thread John Arthorne
The map file has been updated for the following Bug changes:
+ Bug 200219. [prov] Strange errors when pointing to incorrect folder with 
metadata generator (FIXED)
+ Bug 204402. [prov] Use pre and post phase for install/uninstall (FIXED)
+ Bug 204442. [prov] [gen] SDK missing eclipsec.exe (FIXED)
+ Bug 205242. [prov] Exception when running the director (NEW)
+ Bug 205539. [prov] simple configurator dir in the wrong spot (ASSIGNED)
+ Bug 205544. [prov] Touchpoint and Actions should be abstract classes 
(FIXED)
+ Bug 205683. [prov]Wrong string representation for file protocol (FIXED)

The following projects have changed:
org.eclipse.equinox.p2.touchpoint.eclipse
org.eclipse.equinox.p2.selfhosting
org.eclipse.equinox.p2.artifact.repository
org.eclipse.equinox.p2.engine
org.eclipse.equinox.frameworkadmin.equinox
org.eclipse.equinox.p2.metadata.repository
org.eclipse.equinox.frameworkadmin
org.eclipse.equinox.p2.exemplarysetup
org.eclipse.equinox.p2.director
org.eclipse.equinox.p2.metadata.generator
org.eclipse.equinox.p2.ui
org.eclipse.equinox.simpleconfigurator.manipulator
org.eclipse.equinox.p2.director.app
org.eclipse.equinox.p2.console
org.eclipse.equinox.p2.core
org.eclipse.equinox.p2.touchpoint.natives___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] Equinox projects tagged for 3.4 I-build

2007-10-08 Thread Thomas Watson

The map file has been updated for the following Bug changes:
+ Bug 176021. [launcher] Eclipse launcher not working OOTB on Gentoo
systems (FIXED)
+ Bug 198578. URLStreamHandlerFactory not found after being used (ASSIGNED)
+ Bug 198981. ppc/motif Xdefaults not honored on version 3.3 (FIXED)
+ Bug 201414. [Launcher] Launchers can't run without WS, remove static
linking (FIXED)
+ Bug 204110. Should "Windows Server 2003" be another alias for Windows2003
(ASSIGNED)
+ Bug 204812. Exporters must not be counted as importers of their export.
(ASSIGNED)
+ Bug 205060. [app] testcase testDescriptorEvents01 fails intermittently
(NEW)
+ Bug 205117. ReferenceMap.purge has a major flaw in its implementation
(FIXED)
+ Bug 205270. PDE tooling fails because Bundle-NativeCode causes
java.lang.NullPointerException (FIXED)
+ Bug 205601. [launcher] possible memory leak in resolveSymlinks (FIXED)

The following projects have changed:
org.eclipse.equinox.launcher.carbon.macosx
org.eclipse.equinox.launcher.win32.win32.x86_64
org.eclipse.equinox.launcher.gtk.linux.ppc
org.eclipse.osgi.tests
org.eclipse.equinox.launcher.motif.linux.x86
org.eclipse.osgi
org.eclipse.equinox.launcher.gtk.linux.x86_64
org.eclipse.equinox.launcher.wpf.win32.x86
org.eclipse.equinox.launcher
org.eclipse.equinox.executable
org.eclipse.equinox.launcher.gtk.solaris.sparc
org.eclipse.equinox.launcher.win32.win32.x86
org.eclipse.equinox.registry
org.eclipse.equinox.launcher.motif.aix.ppc
org.eclipse.equinox.launcher.gtk.linux.x86

Tom
___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] [p2] IDirector API and hacks

2007-10-08 Thread Susan M Franklin
just a heads up that I'm in the middle of a massive set of 
refactorings/hacks to work on the new IDirector API as discussed on this 
list previously and in 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=204823

So if anyone is planning any major work in the IDirector/Oracle/Profile 
space, please ping me or else one of us (probably me!) will have to deal 
with a pretty nasty merge...
I probably won't commit the work, but rather will post it to the bug above 
and have Pascal review it.   He won't be back until Thursday.


susan___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Re: AW: [equinox-dev] OSGi Logger Service <-> Eclipse Plugin Logger

2007-10-08 Thread Scott Lewis
Is there any existing LogService implementation that just prints to 
System.out/System.err...that is in a bundle present for *all* Equinox 
impls (not just Eclipse)?


That is, is there some basic LogService that can be used as a last-ditch 
logging mechanism (if no other LogService is available)?


Thanks,

Scott


Ziegler, Alexander wrote:


Hi Oleg,

 

Thanks for his bug informations. There are already a prototype or 
experimantally APIs for the new platform log, so I can walkthrough 
some use cases for my concerns.


 


Best regards

Alexander

 




*Von:* [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] *Im Auftrag von *Oleg Besedin

*Gesendet:* Mittwoch, 18. Oktober 2006 17:52
*An:* Equinox development mailing list
*Betreff:* Re: [equinox-dev] OSGi Logger Service <-> Eclipse Plugin Logger

 



Hi Alexander,
I think right now it is an open question. There are a few bugs / 
enhancement requests on the subject, most interesting being:


https://bugs.eclipse.org/bugs/show_bug.cgi?id=147824
https://bugs.eclipse.org/bugs/show_bug.cgi?id=125535

Feel free to add to them. Both requirements for the "ideal" logging 
mechanism and solutions would be very welcome!


Sincerely,
Oleg Besedin



*"Ziegler, Alexander " <[EMAIL PROTECTED]>*
Sent by: [EMAIL PROTECTED]

10/18/2006 10:48 AM

Please respond to
Equinox development mailing list 



To





cc



 


Subject



[equinox-dev] OSGi Logger Service <-> Eclipse Plugin Logger

 

 




 





Hi,

There are two different Logger APIs. Eclise plugin based Logger and the
OSGi based Logger service. Which Logger API is the best approach to log
events? I think it is very difficult to choose the right way to log.
Both Loggers have different concepts. Java defines a logging API too -
with a good concept. It could be more easier when eclipse follows and
provides only one Logger strategy. Is there any strategy which way
eclipse goes in the future?

Best regards
Alexander
___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev



___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev
  


___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Re: [equinox-dev] How to Debug with org.eclipse.osgi.jar

2007-10-08 Thread Thomas Watson
The easiest way to debug the Equinox Framework is to use the "OSGi
Framework" launch configuration under Run->Open Run Dialog ...

See
http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html
 for documentation on configuration options.

Tom





   
  From:   "黄飞" <[EMAIL PROTECTED]>  


   
  To: "equinox-dev"
   

   
  Date:   10/06/2007 07:37 AM   
   

   
  Subject:[equinox-dev] How to Debug with org.eclipse.osgi.jar  
   

   





equinox-dev,hi!

   I would like to study the eqinox framework,so i import the
plugin org.eclipse.osgi_3.3.0.v20061213.jar as source project, but when i
debug the project,
debugging failed then on :

org.eclipse.osgi Startup error
java.lang.NullPointerException
 at
org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:124)

 at
org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:174)

 at
org.eclipse.osgi.framework.internal.core.Framework.(Framework.java:147)

 at
org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.java:90)
 at
org.eclipse.osgi.framework.internal.core.OSGi.(OSGi.java:31)
 at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:278)

 at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:166)

 at
org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:143)

Exception in thread "main" java.lang.NullPointerException
 at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:212)

 at
org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:143)


 So, again my question: how should I go about debugging equinox
as standalone osgi framework, and where can I get some knowledge about all
the stuff like different start configs, properties, hooks, storage
organization and so.

Regards

 2007-10-06

--
Fei Huang
Technology Center for Software Engineering
Institute of Software, Chinese Academy of Sciences
P.O.Box 8718, Beijing 100080, China
Email:[EMAIL PROTECTED]


___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev
<><>___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] Using useradmin

2007-10-08 Thread António Mota
Hi all:

I'm trying to use the equinox implementation of useradmin, and after some
testing I think i' beginning to understand it, except on one point:

How do I associate a User to a Role? I see that a Authorization object will
encapsulates that information, but where are that associated first created?


Thanks all.
___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev