public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/53817] New: The import antlr cannot be resolved
@ 2012-06-30 11:29 wbrana at gmail dot com
  2012-06-30 21:09 ` [Bug java/53817] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: wbrana at gmail dot com @ 2012-06-30 11:29 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53817

             Bug #: 53817
           Summary: The import antlr cannot be resolved
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: wbrana@gmail.com


Created attachment 27723
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27723
log

build of stringtemplate with command 
CLASSPATH=/usr/local/lib/libantlr.so gcj-4.7.1 -v -O3 -fPIC -shared -o test.so
`find src -type f -name '*.java'`
fails with error
src/org/antlr/stringtemplate/language/StringTemplateToken.java:30: error: The
import antlr cannot be resolved
        import antlr.CommonToken;
see log


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug java/53817] The import antlr cannot be resolved
  2012-06-30 11:29 [Bug java/53817] New: The import antlr cannot be resolved wbrana at gmail dot com
@ 2012-06-30 21:09 ` pinskia at gcc dot gnu.org
  2012-06-30 21:11 ` wbrana at gmail dot com
  2012-06-30 21:44 ` wbrana at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-06-30 21:09 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53817

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-06-30 21:08:36 UTC ---
I think you still need the *.class in the CLASSPATH to be able to import them.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug java/53817] The import antlr cannot be resolved
  2012-06-30 11:29 [Bug java/53817] New: The import antlr cannot be resolved wbrana at gmail dot com
  2012-06-30 21:09 ` [Bug java/53817] " pinskia at gcc dot gnu.org
@ 2012-06-30 21:11 ` wbrana at gmail dot com
  2012-06-30 21:44 ` wbrana at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: wbrana at gmail dot com @ 2012-06-30 21:11 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53817

--- Comment #2 from wbrana <wbrana at gmail dot com> 2012-06-30 21:11:24 UTC ---
It seems jar files have to be in CLASSPATH instead of so files.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug java/53817] The import antlr cannot be resolved
  2012-06-30 11:29 [Bug java/53817] New: The import antlr cannot be resolved wbrana at gmail dot com
  2012-06-30 21:09 ` [Bug java/53817] " pinskia at gcc dot gnu.org
  2012-06-30 21:11 ` wbrana at gmail dot com
@ 2012-06-30 21:44 ` wbrana at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: wbrana at gmail dot com @ 2012-06-30 21:44 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53817

wbrana <wbrana at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #3 from wbrana <wbrana at gmail dot com> 2012-06-30 21:44:26 UTC ---
WORKSFORME


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-30 21:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-30 11:29 [Bug java/53817] New: The import antlr cannot be resolved wbrana at gmail dot com
2012-06-30 21:09 ` [Bug java/53817] " pinskia at gcc dot gnu.org
2012-06-30 21:11 ` wbrana at gmail dot com
2012-06-30 21:44 ` wbrana at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).