On 17/04/2008, Peter Neubauer <[EMAIL PROTECTED]> wrote: > > Hi there, > when trying to use the maven-bundle-plugin to generate the valid > plugin manifest for an Eclipse plugin, it seems there needs to be the > singleton directive set, something like: > > > Bundle-SymbolicName: org.neo4j.neoclipse;singleton:=true > > instead of the generated > > Bundle-SymbolicName: org.neo4j.neoclipse > > The error in Eclipse3.4M6 is: "Plug-ins declaring extensions or > extension points must set the singleton directive to true". > > Could we maybe introduce a singleton switch to get this generated and > cover this use case?
does the following work? <instructions> <Bundle-SymbolicName>org.neo4j.neoclipse;singleton:=true</Bundle-SymbolicName> </instructions> because I'm not sure if adding an explicit "singleton" switch gains us much (except more complex code) when you can already customize the name - especially when there are many, many other attributes that could apply. I mean adding ";singleton:=true" involves less typing than setting the proposed switch "<singleton>true</singleton>" in the configuration... /peter > > -- > GTalk: neubauer.peter > Skype peter.neubauer > ICQ 18762544 > GTalk neubauer.peter > Phone +46704 106975 > LinkedIn http://www.linkedin.com/in/neubauer > > http://www.neo4j.org - New Energy for Data - the Netbase. > http://www.ops4j.org - New Energy for OSS Communities - Open > Participation Software. > http://www.qi4j.org - New Energy for Java - Domain Driven Development. > -- Cheers, Stuart
