AFAIK, the migration may take a time (several days?), so it is not an immediate solution.
Having in mind the wish to get rid of antlr totally (pls, see https://issues.apache.org/jira/browse/HARMONY-2052) let's get this removal... Meanwhile it is ok to just placed antlr-2.7.5.jar (which is "it is fully in the public domain" lisense - pls, see http://www.antlr2.org/license.html) to any shared location (like attachment in JIRA) and proceed working. Say, please changes the URL in working_vm/build/make/lnx.properties working_vm/build/make/win.properties to https://issues.apache.org/jira/secure/attachment/12358381/antlr-2.7.5.jar - it must resolve the issue. Thanks Vladimir Beliaev 2007/5/28, Xiao-Feng Li <[EMAIL PROTECTED]>:
I would suggest to do the migration immediately. To eliminate the dependence is not an work that we can achieve immediately. Thanks, xiaofeng On 5/28/07, Stepan Mishura <[EMAIL PROTECTED]> wrote: > Hi, > > Currently we have broken DRL VM build because antlr jar v2.7.5 is not > available for download (I mean it is not possible to build it from > scratch. If you have the jar downloaded you have no problems with the > build). Sometime ago I filed request to antlr site support team > pointing out that the download page[1] on the site offers the jar but > indeed the link is broken. But there is no progress in fixing the link > so far. And for me it is hard to predict when the issue will be > resolved. > > I think we need to decide whether we migrate to v3 or eliminate this > dependency. I've found wiki page for migrating from v2 to v3 [2]. From > the first glance there are a lot of changes including 'general API > reorganisation'. > > I can not estimate correctly how many efforts are required to migrate > to v3 or develop parsing functionality. So the question to DRLVM gurus > whether it make sense to migrate to v3 or we can remove the dependency > on antlr? > > [1] http://www.antlr2.org/download.html > [2] http://www.antlr.org/wiki/display/ANTLR3/Migrating+from+ANTLR+2+to+ANTLR+3 > > Thanks, > Stepan. > > On 5/25/07, Vladimir Ivanov <[EMAIL PROTECTED]> wrote: > > For me it does not work. > > I update link in the win/lnx.properties files and record in the > > setup.xml. After it I removed the build\pre-copied\common\ANTLR.txt > > file and run 'update'. > > It works fine. But then build of DRLVM failed on both lnx and Win with log like: > > ------------------------------------------------------------- > > <snip> > > build.java: > > [echo] ## Building Java classes of 'vm.kernel_classes' > > [mkdir] Created dir: > > C:\harmony.top\drlvm\trunk\build\win_ia32_msvc_debug\semis\vm\kernel_classes\_classes > > Overriding previous definition of reference to java.classes.pattern > > [javac] Compiling 84 source files to > > C:\harmony.top\drlvm\trunk\build\win_ia32_msvc_debug\semis\vm\kernel_classes\_classes > > [javac] ---------- > > [javac] 1. ERROR in > > C:\harmony.top\drlvm\trunk\vm\vmcore\src\kernel_classes\javasrc\org\apache\harmony\lang\reflect\parser\SignatureLexer2.java > > [javac] (at line 20) > > [javac] import antlr.TokenStream; > > [javac] ^^^^^ > > [javac] The import antlr cannot be resolved > > [javac] ---------- > > [javac] 2. ERROR in > > C:\harmony.top\drlvm\trunk\vm\vmcore\src\kernel_classes\javasrc\org\apache\harmony\lang\reflect\parser\SignatureLexer2.java > > [javac] (at line 21) > > [javac] import antlr.TokenStreamException; > > [javac] ^^^^^ > > [javac] The import antlr cannot be resolved > > [javac] ---------- > > [javac] 3. ERROR in > > C:\harmony.top\drlvm\trunk\vm\vmcore\src\kernel_classes\javasrc\org\apache\harmony\lang\reflect\parser\SignatureLexer2.java > > [javac] (at line 22) > > [javac] import antlr.Token; > > [javac] ^^^^^ > > [javac] The import antlr cannot be resolved > > [javac] ---------- > > <snip> > > [javac] 118 problems (118 errors) > > > > ------------------------------------------------------------- > > > > Which step I missed? > > > > thanks, Vladimir > > > > On 5/24/07, Sergey Dmitriev <[EMAIL PROTECTED]> wrote: > > > Hi. Just want to note that I've upgraded antlr-2.7.5 link to antlr-3.0 > > > locally and it works fine for couple of days. > > > > > > Thanks > > > Sergey > > > > > > On 5/24/07, Gregory Shimansky <[EMAIL PROTECTED]> wrote: > > > > Stepan Mishura wrote: > > > > > On 5/22/07, Vladimir Ivanov <[EMAIL PROTECTED]> wrote: > > > > >> Hello everyone, > > > > >> the DRLVM build failed today on the 'update' target with message: > > > > >> ----------------------------- > > > > >> [get] Getting: http://www.antlr.org/download/antlr-2.7.5.jar > > > > >> [get] To: > > > > >> C:\cruise\2.0\build\checkouts\drlvm\build\pre-copied\common\ANTLR\antlr- 2.7.5.jar > > > > >> > > > > >> [get] Error opening connection java.io.FileNotFoundException: > > > > >> http://www.antlr.org/download/antlr-2.7.5.jar > > > > >> [get] Error opening connection java.io.FileNotFoundException: > > > > >> http://www.antlr.org/download/antlr-2.7.5.jar > > > > >> [get] Error opening connection java.io.FileNotFoundException: > > > > >> http://www.antlr.org/download/antlr-2.7.5.jar > > > > >> ------------------------------ > > > > >> > > > > >> Seems, we should use updated version. > > > > >> > > > > > > > > > > Now the jar should be downloaded from: > > > > > http://www.antlr2.org/download/antlr-2.7.5.jar > > > > > > > > > > But the link for its download doesn't work - there is no such file. > > > > > > > > Yes ANTLR released version 3 and now versions 2 are deprecated. The > > > > antlr2.org downaload section provides only 2.7.3 and 2.7.4compiler JAR > > > > files, but no 2.7.5 which we use so far. I wonder if v3 is compatible > > > > and whether we can try to switch to it while we still use ANTLR parser > > > > in VM. > > > > > > > > >> thanks, Vladimir > > > > >> > > > > >> Note, list of files under http://www.antlr.org/download/ is: > > > > >> stringtemplate-2.1.tar.gz > > > > >> antlrworks-1.0-src.zip > > > > >> stringtemplate-05-03-2007.15.tar.gz > > > > >> stringtemplate-3.0.jar > > > > >> build > > > > >> stringtemplate-2.2.tar.gz > > > > >> examples-v3.tar.gz > > > > >> antlr-3.0.jar > > > > >> antlrworks-1.0b11.jar > > > > >> antlr-3.0b6.tar.gz > > > > >> antlrworks-1.0.zip > > > > >> antlrworks-1.0.jar > > > > >> stringtemplate-1.0.3.jar > > > > >> stringtemplate-2.0.tar.gz > > > > >> antlrworks-1.0b11.zip > > > > >> antlrworks-1.0b11-src.zip > > > > >> v2v3-0.2.tar.gz > > > > >> antlr-runtime-3.0.jar > > > > >> stringtemplate-3.0.tar.gz > > > > >> antlr-3.0b7.tar.gz > > > > >> antlr-3.0.tar.gz > > > > >> > > > > > > > > > > > > > > > > > -- > > > > Gregory > -- http://xiao-feng.blogspot.com
