no. would love to not to commit to your sandbox anymore ;-)

-------- Original-Nachricht --------
> Datum: Tue, 19 Aug 2008 11:44:39 +0300
> Von: "Alin Dreghiciu" <[EMAIL PROTECTED]>
> An: "General OPS4J" <[email protected]>
> Betreff: Re: svn commit: r12667 -     
> laboratory/users/adreghiciu/pax/shell/runtime/src/main/java/org/ops4j/pax/shell/runtime/internal/converter

> I do not have a problem with that. Anyone?
> 
> On Tue, Aug 19, 2008 at 11:21 AM, Peter Neubauer
> <[EMAIL PROTECTED]> wrote:
> > Alin,
> > it seems PaxShell is getting to a state where we could move it into
> > /projects and set up CI for it to deploy SNAPSHOTS? I am planning to
> > move some Neo4j shell comamnds onto PaxShell and would like to depend
> > on deployed artifacts ...
> >
> > WADYT?
> >
> > /peter
> >
> > GTalk: neubauer.peter
> > Skype peter.neubauer
> > ICQ 18762544
> > Phone +46704 106975
> > LinkedIn http://www.linkedin.com/in/neubauer
> > Twitter http://twitter.com/peterneubauer
> >
> > http://www.neo4j.org - New Energy for Data - the Graph Database.
> > http://www.ops4j.org - New Energy for OSS Communities - Open
> > Participation Software.
> > http://www.qi4j.org - New Energy for Java - Domain Driven Development.
> >
> >
> >
> >
> > On Tue, Aug 19, 2008 at 10:26 AM,  <[EMAIL PROTECTED]> wrote:
> >> Author: [EMAIL PROTECTED]
> >> Date: Tue Aug 19 10:26:40 2008
> >> New Revision: 12667
> >>
> >> Log:
> >> Replace strings with OSGi Constants equivalents.
> >>
> >> Modified:
> >>  
> laboratory/users/adreghiciu/pax/shell/runtime/src/main/java/org/ops4j/pax/shell/runtime/internal/converter/OSGiConverter.java
> >>
> >> Modified:
> laboratory/users/adreghiciu/pax/shell/runtime/src/main/java/org/ops4j/pax/shell/runtime/internal/converter/OSGiConverter.java
> >>
> ==============================================================================
> >> ---
> laboratory/users/adreghiciu/pax/shell/runtime/src/main/java/org/ops4j/pax/shell/runtime/internal/converter/OSGiConverter.java
>        (original)
> >> +++
> laboratory/users/adreghiciu/pax/shell/runtime/src/main/java/org/ops4j/pax/shell/runtime/internal/converter/OSGiConverter.java
>        Tue Aug 19
> 10:26:40 2008
> >> @@ -107,7 +107,7 @@
> >>     {
> >>         if( level == LINE )
> >>         {
> >> -            String version = (String) bundle.getHeaders().get(
> "Bundle-Version" );
> >> +            String version = (String) bundle.getHeaders().get(
> Constants.BUNDLE_VERSION );
> >>             if( version == null )
> >>             {
> >>                 version = "0.0.0";
> >> @@ -245,21 +245,21 @@
> >>             StringBuilder sb = new StringBuilder();
> >>             Formatter f = new Formatter( sb );
> >>             String servicePID = "";
> >> -            Object pid = serviceReference.getProperty( "service.pid"
> );
> >> +            Object pid = serviceReference.getProperty(
> Constants.SERVICE_PID );
> >>             if( pid != null )
> >>             {
> >>                 servicePID = pid.toString();
> >>             }
> >>             f.format(
> >>                 "%06d %3s %-40s %s",
> >> -                serviceReference.getProperty( "service.id" ),
> >> +                serviceReference.getProperty( Constants.SERVICE_ID ),
> >>                 serviceReference.getBundle().getBundleId(),
> >> -                toDelimitedString( (String[])
> serviceReference.getProperty( "objectclass" ), " | " ),
> >> +                toDelimitedString( (String[])
> serviceReference.getProperty( Constants.OBJECTCLASS ), " | " ),
> >>                 servicePID
> >>             );
> >>             return sb;
> >>         }
> >> -        return toDelimitedString( (String[])
> serviceReference.getProperty( "objectclass" ), " | " );
> >> +        return toDelimitedString( (String[])
> serviceReference.getProperty( Constants.OBJECTCLASS ), " | " );
> >>     }
> >>
> >>     private CharSequence toDelimitedString( final String[] list,
> >> @@ -376,8 +376,14 @@
> >>     {
> >>         try
> >>         {
> >> -            ServiceReference refs[] =
> getContext().getServiceReferences( null, String
> >> -                .format( "(|(service.id=%s)(service.pid=%s))", source,
> source )
> >> +            ServiceReference refs[] =
> getContext().getServiceReferences(
> >> +                null,
> >> +                String.format(
> >> +                    "(|(%s=%s)(%s=%s))",
> >> +                    Constants.SERVICE_ID,
> >> +                    Constants.SERVICE_PID,
> >> +                    source,
> >> +                    source )
> >>             );
> >>             if( refs != null && refs.length > 0 )
> >>             {
> >>
> >> _______________________________________________
> >> notify mailing list
> >> [EMAIL PROTECTED]
> >> http://lists.ops4j.org/mailman/listinfo/notify
> >>
> >>
> >
> > _______________________________________________
> > general mailing list
> > [email protected]
> > http://lists.ops4j.org/mailman/listinfo/general
> >
> 
> 
> 
> -- 
> Alin Dreghiciu
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> http://www.qi4j.org - New Energy for Java - Domain Driven Development.
> http://malaysia.jayway.net - New Energy for Projects - Great People
> working on Great Projects at Great Places
> 
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to