I apologize for this confusion. We have recently removed our use of
Maven from the Electric source-code. It is now simpler to manage,
but the on-line instructions are not yet updated.
Here are the instructions needed to load Electric into Eclipse.
Please let me know if there are mistakes or confusions in this and it
will help me when I create the online documentation.
(1) Extract the code from
java.net:
"File
/ Import", "SVN / Checkout Projects from SVN"
Repository
"
https://svn.java.net/svn/electric~svn/trunk/electric" (select
the top-level)
Click "Check
out as a project in the workspace" named "Electric"
(2) Create two Eclipse projects: one for Java, one for Scala:
New Java
Project: "Electric/electric-java", output in
"electric-java/bin"
External
libraries:
(from the
"packaging" folder): AppleJavaExtensions-1.4, bsh-2.0b4,
scala-library-2.9.1.jar, slf4j-api-1.6.2, slf4j-jdk14-1.6.2
(from your Java3D
installation, "Java3D\1.5.2\lib\ext"): j3dcore, j3dutils,
vecmath
(from your JMF
installation, "JMF2.1.1e\lib"): jmf.jar
(from your Jython
installation, "jython2.5.2"): jython.jar
New Java
Project: "Electric/electric-scala", output in
"electric-scala/bin", "Scala Nature"
External
libraries:
(from the
"packaging" folder): slf4j-api-1.6.2 / slf4j-jdk14-1.6.2
Right-click "electric-scala" project, choose "Configure /
Add Scala Nature"
(3) Link the two projects:
Right-click "electric-scala" project, choose
"Properties", "Java Build Path"
In
"Projects" tab, click "Add..." and add
"electric-java" project
Right-click "electric-java" project, choose
"Properties", "Java Build Path"
In
"Libraries" tab, click "Add Class Folder" and choose
"electric-scala/bin"
(4) Make launch configuration:
New
"Java Application" called "Electric"
Project
"electric", class "com.sun.electric.Launcher", VM
arguments -Xmx1500m
-Steven Rubin