geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anita kulshreshtha <a_kuls...@yahoo.com>
Subject M2 : build on Windows
Date Sat, 17 Jun 2006 14:13:18 GMT
Hi,
    The work on M2 build can not proceed, because with our current
naming scheme we have exceeded the windows file path length limit
(around 256). There is a pending RTC, which will alleviate this problem


http://www.mail-archive.com/dev@geronimo.apache.org/msg23564.html

       Here is the description of the problems - 
1. Maven adds pom.properties file to the archive generated by the build
at META-INF\maven\${groupId}\{artifactId}. All the modules and
applications build fine. The problem occurs when the configurations are
being built.
   The longest path generated by console configurations for
tomcat/jetty (see example 1 below) is 256+6 . This RTC would shorten it
by 12 (drop 'applications') 
2. The two long paths generated by daytrader configuration are
    256+30     (see example 2) and
    256+47     (see example 3) added by maven
     The above RTC would shorten the paths by 7 (drop 'modules') and 14
respectively. Another RTC is required to further shorten the name of
the generated file. For example using dt instead of
'daytrader-derby-tomcat' would  shorten the path by 40 characters. This
is not very user friendly. 
    Example 1 and 3 prevent deletion of 'target' directory and example
2 causes ClassNotFoundException for classes in
activemq-3.2.4-SNAPSHOT.jar. Please vote for the above RTC and
suggestions about shorter file names are welcome.

Thanks
Anita 

Example 1 - 
D:\geronimo-1.2\configs\console-tomcat\target\repository
org\apache\geronimo\configs\webconsole-tomcat\1.2-SNAPSHOT\webconsole-tomcat-1.2-SNAPSHOT.car\stand
d.war\META-INF\maven\org.apache.geronimo.applications.console\geronimo-console-standard\pom.properties


Example 2 - 
D:\geronimo-1.2\configs\daytrader-tomcat\target\reposito
ry\org\apache\geronimo\configs\daytrader-derby-tomcat_streamer.jar\1.2-SNAPSHOT\daytrader-derby-tomc
at_streamer.jar-1.2-SNAPSHOT.car\org.apache.geronimo.modules\ge-activemq-rar\1.2-SNAPSHOT\rar\
activemq-3.2.4-SNAPSHOT.jar

Example 3 - 
D:\geronimo-1.2\configs\daytrader-tomcat\target\reposito
ry\org\apache\geronimo\configs\daytrader-derby-tomcat_streamer.jar\1.2-SNAPSHOT\daytrader-derby-tomc
at_streamer.jar-1.2-SNAPSHOT.car\org.apache.geronimo.modules\ge-activemq-rar\1.2-SNAPSHOT\rar\
META-INF\maven\org.apache.geronimo.modules\ge-activemq-rar\pom.properties

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message