[ 
https://issues.apache.org/jira/browse/TOBAGO-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987937#comment-13987937
 ] 

Hudson commented on TOBAGO-1376:
--------------------------------

FAILURE: Integrated in tobago-trunk #1173 (See 
[https://builds.apache.org/job/tobago-trunk/1173/])
TOBAGO-1376: tobago-theme-plugin puts backslashes in war file if build runs 
under Windows
TOBAGO-1377: Build fails on Windows systems (lofwyr: 
http://svn.apache.org/viewvc/?view=rev&rev=1577605)
* 
/myfaces/tobago/trunk/tobago-tool/tobago-theme-plugin/src/main/java/org/apache/myfaces/tobago/maven/plugin/IndexThemeMojo.java


> tobago-theme-plugin puts backslashes in war file if build runs under Windows
> ----------------------------------------------------------------------------
>
>                 Key: TOBAGO-1376
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1376
>             Project: MyFaces Tobago
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-3
>         Environment: Windows (build environment), Linux (runtime)
>            Reporter: Georg Pietrek
>            Assignee: Udo Schnurpfeil
>             Fix For: 2.0.0-beta-1
>
>
> When building a Tobago theme (using the tobago-theme-plugin) on a Windows 
> machine the file target/classes/META-INF/tobago-resource-index.txt contains 
> file paths with backslashes. 
> This leads to errors when running the application on a Linux machine:
> 2014-03-12 16:11:41,740 [[ACTIVE] ExecuteThread: '1' for queue: 
> 'weblogic.kernel.Default (self-tuning)'] DEBUG 
> org.apache.myfaces.tobago.internal.context.ResourceManagerImpl adding 
> resourceKey = 
> '/com\abc\foundation\tobago\renderkit\html\abc\standard\image\exclamation.png'
> 2014-03-12 16:11:41,740 [[ACTIVE] ExecuteThread: '1' for queue: 
> 'weblogic.kernel.Default (self-tuning)'] INFO  
> org.apache.myfaces.tobago.internal.context.ResourceLocator Adding properties 
> from: 
> 'com\abc\foundation\tobago\renderkit\html\abc\standard\property\tobago-theme-config.properties'
> 2014-03-12 16:11:41,744 [[ACTIVE] ExecuteThread: '1' for queue: 
> 'weblogic.kernel.Default (self-tuning)'] ERROR 
> org.apache.myfaces.tobago.internal.config.TobagoConfigBuilder Error while 
> deploy process. Tobago can't be initialized! Application will not run!
> javax.servlet.ServletException: java.lang.NullPointerException
> Please take a look at the class IndexThemeMojo, this may be the cause of the 
> problem:
> BufferedWriter bufferedWriter = null;
>       try {
>         final StringWriter stringWriter = new StringWriter();
>         bufferedWriter = new BufferedWriter(stringWriter);
>         for (final String file : scanner.getIncludedFiles()) {
>           bufferedWriter.append('/');
>           bufferedWriter.append(file);
>           bufferedWriter.newLine();
>         }



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to