tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jameson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-977) Compilation error building tika-1.2 --- identifier expected in CHM2XHTML.java
Date Thu, 23 Aug 2012 15:53:43 GMT

    [ https://issues.apache.org/jira/browse/TIKA-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440398#comment-13440398

David Jameson commented on TIKA-977:


The tika-1.2 folder lives in /Volumes/Drive3/src/java/dev-tools/tika-1.2

Just for grins, I removed that folder and did a fresh download into it. Then, in a terminal
window whose current directory is that folder, I invoked

   mvn install

I continue to get those messages. I do not know what is picking up references to .Trashes

As I said before, both parent and core are being built just fine. This is only happening when
it gets to parsers.

Here, for example, is the report for the jar file of tika-core (and the folder names are correct)

[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ tika-core ---
[INFO] Installing /Volumes/Drive3/src/java/dev-tools/tika-1.2/tika-core/target/tika-core-1.2.jar
to /Users/dhj/.m2/repository/org/apache/tika/tika-core/1.2/tika-core-1.2.jar
[INFO] Installing /Volumes/Drive3/src/java/dev-tools/tika-1.2/tika-core/pom.xml to /Users/dhj/.m2/repository/org/apache/tika/tika-core/1.2/tika-core-1.2.pom

> Compilation error building tika-1.2 --- identifier expected in CHM2XHTML.java
> -----------------------------------------------------------------------------
>                 Key: TIKA-977
>                 URL: https://issues.apache.org/jira/browse/TIKA-977
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.2
>         Environment: Mac 10.7.4
>            Reporter: David Jameson
>              Labels: Compiler, syntax
> New user --- just downloaded tika and tried to build with 
> mvn install
> Parent and core were built and then I saw a failure in parsers.
> (by the way, I have no idea why the error references code in .Trashes)
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tika-parsers ---
> [INFO] Compiling 133 source files to /Volumes/Drive3/.Trashes/501/tika-1.2 8.17.20 AM/tika-parsers/target/classes
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] /Volumes/Drive3/.Trashes/501/tika-1.2 8.17.20 AM/tika-parsers/src/main/java/org/apache/tika/parser/chm/CHM2XHTML.java:[20,23]
<identifier> expected
> [ERROR] /Volumes/Drive3/.Trashes/501/tika-1.2 8.17.20 AM/tika-parsers/src/main/java/org/apache/tika/parser/chm/CHM2XHTML.java:[22,7]
class, interface, or enum expected
> [INFO] 2 errors 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message