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

Remko Popma edited comment on LOG4J2-372 at 8/26/13 3:57 PM:
-------------------------------------------------------------

I had to make one change to get mvn eclipse:eclipse to run:
in samples/flume-embedded/pom.xml and samples/flume-remote/pom.xml,
replace the $\{basedir} variable with {{../..}}

Still investigating if this breaks anything, but as a one-off it should help 
you generate the .project and .classpath files you want.
                
      was (Author: rem...@yahoo.com):
    I had to make one change to get mvn eclipse:eclipse to run:
in samples/flume-embedded/pom.xml and samples/flume-remote/pom.xml,
replace the ${basedir} variable with ../..

Still investigating if this breaks anything, but as a one-off it should help 
you generate the .project and .classpath files you want.
                  
> Build-path-issue. Invalid file or path...
> -----------------------------------------
>
>                 Key: LOG4J2-372
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-372
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Flume Appender
>    Affects Versions: 2.0-beta9
>         Environment: Log4j Samples: Flume - Remote
>            Reporter: Roland Weiglhofer
>            Priority: Minor
>         Attachments: build_log4j2.txt
>
>
> calling 'mvn eclipse:eclipse' causes following error:
> ...
> [DEBUG] Searching for sources for javax.servlet:servlet-api:2.5:null at 
> javax.servlet:servlet-api:2.5:javadoc
> [DEBUG] Searching for sources for junit:junit:4.7:null at 
> junit:junit:4.7:javadoc
> [DEBUG] testOutput toRelativeAndFixSeparator 
> D:\rtu-workspace\log4j2-patch\samples\flume-remote , 
> D:\rtu-workspace\log4j2-patch\samples\flume-remote\target\test-classes
> [DEBUG] testOutput after toRelative : target/test-classes
> [DEBUG] Processing resource dir: 
> D:\rtu-workspace\log4j2-patch\samples\flume-remote\src\main\resources
> [DEBUG] Making relative and fixing separator: { 
> D:\rtu-workspace\log4j2-patch\samples\flume-remote, 
> D:\rtu-workspace\log4j2-patch\samples\flume-remote\target\classes, false }.
> [DEBUG] Processing resource dir: 
> D:\rtu-workspace\log4j2-patch\samples\flume-remote\src\main\webapp\WEB-INF
> [DEBUG] Making relative and fixing separator: { 
> D:\rtu-workspace\log4j2-patch\samples\flume-remote, 
> D:\rtu-workspace\log4j2-patch\samples\flume-remote\target\classes\D:\rtu-workspace\log4j2-patch\samples\flume-remote\target,
>  false }.
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Cant canonicalize system path: {0}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to