[ 
https://issues.apache.org/jira/browse/GERONIMO-4205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613621#action_12613621
 ] 

Joe Bohn commented on GERONIMO-4205:
------------------------------------

I haven't tested out the changes but the rename seems reasonable to me.   

> unable to build samples on windows platoform due to Filename too long
> ---------------------------------------------------------------------
>
>                 Key: GERONIMO-4205
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4205
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: sample apps
>    Affects Versions: 2.1, 2.1.2
>         Environment: winxp
>            Reporter: Lin Sun
>            Assignee: Lin Sun
>             Fix For: 2.1.2
>
>         Attachments: G4205new.zip
>
>
> Steps-
> 1. check out branch 2.1 samples 
> https://svn.apache.org/repos/asf/geronimo/samples/branches/2.1/ to a very 
> short dir c:\21sam
> 2. install G2.1 private repo
> 3. use maven 2.0.7 to build samples at c:\21sam dir.
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Could not scan module for TLD files: 
> customer-service-war-2.1-SNAPSHOT.wa
> r Filename too long
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Could not scan module 
> fo
> r TLD files: customer-service-war-2.1-SNAPSHOT.war Filename too long
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:564)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:480)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:459)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:278)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Could not scan 
> module
>  for TLD files: customer-service-war-2.1-SNAPSHOT.war Filename too long
>         at 
> org.codehaus.mojo.pluginsupport.MojoSupport.execute(MojoSupport.java:
> 137)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:443)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:539)
>         ... 16 more
> Caused by: org.apache.geronimo.common.DeploymentException: Could not scan 
> module
>  for TLD files: customer-service-war-2.1-SNAPSHOT.war Filename too long
>         at 
> org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.scanM
> odule(JspModuleBuilderExtension.java:297)
>         at 
> org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.getTl
> dFiles(JspModuleBuilderExtension.java:238)
>         at 
> org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.creat
> eJspClassFinder(JspModuleBuilderExtension.java:179)
>         at 
> org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGB
> eans(JspModuleBuilderExtension.java:149)
>         at 
> org.apache.geronimo.jetty6.deployment.JettyModuleBuilder.addGBeans(Je
> ttyModuleBuilder.java:518)
>         at 
> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(
> SwitchingModuleBuilder.java:165)
>         at 
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfigurati
> on(EARConfigBuilder.java:647)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at 
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:124)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:867)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 239)
>         at 
> org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(Packa
> geMojo.java:540)
>         at 
> org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(Package
> Mojo.java:359)
>         at 
> org.apache.geronimo.mavenplugins.car.PackageMojo.doExecute(PackageMoj
> o.java:259)
>         at 
> org.codehaus.mojo.pluginsupport.MojoSupport.execute(MojoSupport.java:
> 122)
>         ... 18 more
> Caused by: java.util.zip.ZipException: Filename too long
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:203)
>         at java.util.jar.JarFile.<init>(JarFile.java:132)
>         at java.util.jar.JarFile.<init>(JarFile.java:97)
>         at 
> org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.scanM
> odule(JspModuleBuilderExtension.java:289)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to