Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Compile the Alice source
Old
jedavis
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jun 2008
Default Compile the Alice source - 06-12-2008, 03:56 PM

I have to make an alteration to Alice to complete a project I'm working on.
How do I go about compiling the Alice source code?

I looked at the files given on the Alice site, but it wasn't immediately apparent how it should be done. I am posting in the hope that someone can save some of my time.
________
MERCURY MOUNTAINEER
________
Jailbroken

Last edited by jedavis; 05-11-2011 at 05:52 AM.
   
Reply With Quote
Compile the Alice Source
Old
hgs
Guest
 
Status:
Posts: n/a
Default Compile the Alice Source - 06-13-2008, 05:07 AM

In the General Discussion -> How Do I forum, I started a thread "Alice 2.0 and Java 5.0" http://www.alice.org/community/showt...hlight=compile where I attempted this and got very stuck. There seems to be quite a long dependency graph, including Jython. With 2.2 coming "soon" I think there may be others interested in this.
   
Reply With Quote
Old
jedavis
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jun 2008
Default 06-16-2008, 12:36 PM

I am trying to compile Alice for Windows and have gotten past the native JNI stuff. Now I am working on compiling the Java code, but I'm having the same problems as you (hgs).
If I'm successful I'll post my method here.
________
Silver surfer vaporizer
________
Top penny stocks

Last edited by jedavis; 05-11-2011 at 05:53 AM.
   
Reply With Quote
Old
jedavis
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jun 2008
Default 06-16-2008, 05:36 PM

What packages have you found are required to compile the Alice code?

So far I've got:
Java3D
JMF
Jython
JAXP
Xerces
GNU Classpath
________
Anal Trai
________
Hot Box Vape

Last edited by jedavis; 05-11-2011 at 05:53 AM.
   
Reply With Quote
Success!
Old
jedavis
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jun 2008
Default Success! - 06-17-2008, 06:16 PM

After many hours looking up various libraries I discovered an easy solution. If you look in the Alice program's Required folder all the .jars you need are there.

What you need:
\Required\optionalPackagesLib\*.jar
\Required\externalLib\*.jar

I included these .jars in Eclipse then exported alice.jar to replace the one at "\Required\lib\alice.jar". Now I can modify the Java part of Alice.

(I am also using the old JRE 1.3 which you can download from the archives of Sun's site.)
________
MARIJUANA DISPENSARY
________
porn star Webcam

Last edited by jedavis; 05-11-2011 at 05:53 AM.
   
Reply With Quote
Old
jedavis
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jun 2008
Default 06-19-2008, 01:03 PM

I noticed something interesting in the code today:

I'm not sure if this is a joke, Easter egg or something that was actually used, but elements in Alice can be named the same thing, only if "GeorgeForeman" is used.

You have to right click an existing element and choose "rename" because the normal new-element-naming-dialog-box will override the Easter egg (or whatever it is).
________
AMATEUR WIFE TUBE
________
JAILBROKEN

Last edited by jedavis; 05-11-2011 at 05:53 AM.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.