You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jason Dillon <ja...@planet57.com> on 2008/01/20 23:59:00 UTC

Evil windows path limit...

anyone know how close we are to the limit for the repository?  I'd  
like to be able to use longer groupIds to organize plugins, like:

     org.apache.geronimo.plugins.activemq

which would have all of the activemq plugin modules  
(.jar, .war, .car, .whatever).  But I'm fairly sure that following  
this pattern would cause windows to crap its pants.

one solution I was thinking of was to update the G repo code to have  
some well known prefix resolution alias fluff... like:

     oag/plugins/activemq -> org/apache/geronimo/plugins/activemq

so in _our_ repo we can shorten the names of some of these groupIds  
and prevent windows from messing itself.  though, there will still be  
full names in the local m2 repo cache.

and actually, I really want to put 'server' into the base groupId, so  
the above would really be more like:

     org.apache.geronimo.server.plugins.activemq

and the short version:

     oags/plugins/activemq

Anyone have any comments?

--jason

Re: Evil windows path limit...

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Jan 20, 2008 11:59 PM, Jason Dillon <ja...@planet57.com> wrote:
> anyone know how close we are to the limit for the repository?  I'd
> like to be able to use longer groupIds to organize plugins, like:

Run the following command

jar -tf geronimo-jetty6-javaee5-2.1-SNAPSHOT-bin.zip | while read f;
do LENGTH=`expr length "$f"`; echo $LENGTH $f; done | sort -n

and got the following (cut to entries above 210 chars):

211 geronimo-jetty6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/plugins/console-jetty/2.1-SNAPSHOT/console-jetty-2.1-SNAPSHOT.car/base-portlets.war/WEB-INF/view/securityrealmman
ager/derby/users/addnormal.jsp
211 geronimo-jetty6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/plugins/console-jetty/2.1-SNAPSHOT/console-jetty-2.1-SNAPSHOT.car/base-portlets.war/WEB-INF/view/securityrealmman
ager/derby/users/maximized.jsp
211 geronimo-jetty6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/plugins/console-jetty/2.1-SNAPSHOT/console-jetty-2.1-SNAPSHOT.car/base-portlets.war/WEB-INF/view/securityrealmman
ager/se/users/addmaximized.jsp
212 geronimo-jetty6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/plugins/console-jetty/2.1-SNAPSHOT/console-jetty-2.1-SNAPSHOT.car/base-portlets.war/WEB-INF/view/securityrealmman
ager/derby/groups/addnormal.jsp
212 geronimo-jetty6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/plugins/console-jetty/2.1-SNAPSHOT/console-jetty-2.1-SNAPSHOT.car/base-portlets.war/WEB-INF/view/securityrealmman
ager/derby/groups/maximized.jsp
212 geronimo-jetty6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/plugins/console-jetty/2.1-SNAPSHOT/console-jetty-2.1-SNAPSHOT.car/base-portlets.war/WEB-INF/view/securityrealmman
ager/se/groups/addmaximized.jsp
213 geronimo-jetty6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/uddi-jetty6/2.1-SNAPSHOT/uddi-jetty6-2.1-SNAPSHOT.car/uddi-db/META-INF/maven/org.tranql/tranql-connector-
derby-embed-local/pom.properties
214 geronimo-jetty6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/system-database/2.1-SNAPSHOT/system-database-2.1-SNAPSHOT.car/rar/META-INF/maven/org.tranql/tranql-connec
tor-derby-embed-xa/pom.properties
214 geronimo-jetty6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/plugins/console-jetty/2.1-SNAPSHOT/console-jetty-2.1-SNAPSHOT.car/base-portlets.war/WEB-INF/view/securityrealmman
ager/derby/users/addmaximized.jsp
215 geronimo-jetty6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/plugins/console-jetty/2.1-SNAPSHOT/console-jetty-2.1-SNAPSHOT.car/base-portlets.war/WEB-INF/view/securityrealmman
ager/derby/groups/addmaximized.jsp
215 geronimo-jetty6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/plugins/console-jetty/2.1-SNAPSHOT/console-jetty-2.1-SNAPSHOT.car/portal-driver.war/WEB-INF/config/services/Portl
etEntityRegistryService.properties
219 geronimo-jetty6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/plugins/console-jetty/2.1-SNAPSHOT/console-jetty-2.1-SNAPSHOT.car/portal-driver.war/WEB-INF/config/services/Portl
etDefinitionRegistryService.properties

It appears we're pretty close. It's 255, I believe.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl