Here is what I am doing. I extracted the source code to a folder called
electric-8.10. I created another folder called "packages" which contains all
the jar files like, jython.jar, bsh-2.0b4.jar etc. I get the error when run
"ant jar". Following is what I see on terminal:

prepare-output:
    [mkdir] Created dir:
/Users/navp/Documents/Electric-8.10-Source/electric-8.10/build/classes
    [mkdir] Created dir:
/Users/navp/Documents/Electric-8.10-Source/electric-8.10/build/gensrc/org/python/antlr
    [mkdir] Created dir:
/Users/navp/Documents/Electric-8.10-Source/electric-8.10/build/exposed

antlr_gen:
     [java] Exception in thread "main" java.lang.NoClassDefFoundError:
org/antlr/Tool
     [java] Caused by: java.lang.ClassNotFoundException: org.antlr.Tool
     [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java] at java.security.AccessController.doPrivileged(Native Method)
     [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
     [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
     [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
     [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)

Looks like I am missing something here.

-Nav

On Tue, Jan 19, 2010 at 7:52 PM, Steven Rubin <[email protected]>wrote:

> Depending on WHAT you are building from source code, you may need external
> JAR files.  I am unfamiliar with the "antlr_gen" target in the Electric
> build file.  Is this from Electric, or Jython?
>
>   -Steven Rubin
>
>
> At 07:12 PM 1/19/2010, you wrote:
>
>> Sorry replying late. Well this is the error I get when I build
>> electric from source code. This error is when it tries to build
>> "antlr_gen" target. Looking in the build.xml file I find this:
>> <target name="antlr_gen" depends="prepare-output"
>> unless="antlr.notneeded">
>>        <java classname="org.antlr.Tool" failonerror="true"
>> fork="true" dir="${jython.base.dir}">
>>
>> Does building from source code requires additional packages, besides
>> jython, junit, bsh etc? Thanks
>>
>> -Nav
>>
>> On Jan 9, 11:31 pm, pallav <[email protected]> wrote:
>> > On Jan 9, 12:35 pm, nav <[email protected]> wrote:
>> >
>> > > Hi all,
>> >
>> > > Has anyone tried compiling electric8.10 source? I get the following
>> > > error:
>> >
>> > > [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/
>> > > antlr/Tool
>> > > [java] Caused by: java.lang.ClassNotFoundException: org.antlr.Tool
>> >
>> > > I am compiling on Mac OS X with Java 1.6.0_17. Am I missing something
>> > > here?
>> >
>> > > Thanks
>> > > -Nav
>> >
>> > Looks like a execution error rather than a compilation error.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Electric VLSI Editor" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<electricvlsi%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/electricvlsi?hl=en.
>>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Electric VLSI Editor" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<electricvlsi%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/electricvlsi?hl=en.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "Electric VLSI Editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/electricvlsi?hl=en.

Reply via email to