The Freerouting project is now open source

Latest news

The Freerouting project is now open source

Postby alfons » Sat Mar 08, 2014 12:07 pm

Because I am no more maintaining the Freerouting project since 4 years and future Java versions may block my Freerouting Java Web Start application completely, I finally decided to open the source of the Freerouting project under the GNU public license version 3.
Sorry, I removed the attached Freerouting sources because I want to have peace from the unjustified attacks of Zuken.
alfons
Site Admin
 
Posts: 188
Joined: Sun Nov 30, 2008 10:30 am
Location: Munich, Germany

Re: The Freerouting project is now open source

Postby ajo » Mon Mar 10, 2014 8:53 am

Alfons,

Thank you very much for this release.

I've looked at the sources (here and there , 4-5 files), and I must say, it's very well coded, and easy to understand.

Have my congratulations, for what you archived with this project, with your release, other projects will be
able to benefit from your work, and others could take the work were you leave it, for example, and making a desktop
application.

My best wishes,
Miguel Ángel Ajo.
ajo
 
Posts: 1
Joined: Mon Mar 10, 2014 8:49 am

Re: The Freerouting project is now open source

Postby alfons » Mon Mar 10, 2014 11:15 am

You can generate a complete documentation of the project if you load it into NetBeans and select Run | Generate Javadoc in the pull down menu.
For anybody unfamiliar with NetBeans I have attached such a generated documentation of the Freerouting project.
Just unzip the attached file and open index.html.
Attachments
freerouting_documentation.zip
(2.12 MiB) Downloaded 4284 times
alfons
Site Admin
 
Posts: 188
Joined: Sun Nov 30, 2008 10:30 am
Location: Munich, Germany

Re: The Freerouting project is now open source

Postby bodagetta » Mon Mar 17, 2014 11:06 pm

Thank you very much for open sourcing this!
bodagetta
 
Posts: 1
Joined: Mon Mar 17, 2014 11:04 pm

Re: The Freerouting project is now open source

Postby bytraper » Tue Mar 18, 2014 11:51 pm

Thanks for releasing this. My greatest worry was that one day I would come here an your website would be gone because it seemed like you'd lost interest in the project.
It was always depressing to come here and see that you hadn't done any work on the project.
So I'm really happy because now there will be hopefully more frequent updates and improvements as skilled people take it on.

This is by far the best routing tool I've ever used. It always beats my hand layouts for track length and vias and I would be extremely sad if it dissapeared.

Please when someone tackles and improves on this project can you provide a website that we can all follow your progress on ?
bytraper
 
Posts: 2
Joined: Mon Nov 12, 2012 9:43 pm

Re: The Freerouting project is now open source

Postby eng-routing » Sat Mar 22, 2014 9:29 am

Thanks Alfons, really

You have all my admiration for the great work !

You where already surrounded by friends, now I am sure we really admire you
eng-routing
 
Posts: 1
Joined: Sat Feb 01, 2014 3:02 pm

Re: The Freerouting project is now open source

Postby alfons » Sat Mar 22, 2014 1:59 pm

Here are some instructions how to run the Freerouting project in the NetBeans IDE.

1) Go to the Java SE download web page of Oracle to download and install JDK 8 with NetBeans 8.0

2) Start the NetBeans IDE and select File | New Project in the pull down menu.

3) In this sheet select Java Project with existing sources.

4) Add your downloaded Freerouting source code with Add Source Package.

5) Build your new project in NetBeans.

6) To get rid of the undefined's download and unzip the attached library jh.jar. It is the system library of the Java Help system.

7) Right click on the name of your new project on the left of NetBeans and select Properties.

8) In the Property sheet select Libraries on the left and add your jh.jar with Add JAR/Folder.

9) Click on Web Start in the Property sheet and select Enable Web Start.

10) Build the project again. The router should run now.

For optional parameters of the Freerouting outfile check the usage of the variable p_args in the source file gui/MainApplication.java.
Attachments
jh.zip
(453.72 KiB) Downloaded 2652 times
alfons
Site Admin
 
Posts: 188
Joined: Sun Nov 30, 2008 10:30 am
Location: Munich, Germany

Re: The Freerouting project is now open source

Postby foka » Sun Mar 23, 2014 1:31 pm

Hi,

Many thanks Alfons for your wonderful work and letting us have an insight into your code ;-)
Have you ever thought about uploading your sources to a public plattform like github, savanah, bitbucket or similar?

Btw. if someone wants to create a 'standalone' application on a linux (debian) based system using command line only, you can use the following instructions:

1 Prerequisites
----------------
jh.jar and netx.jar must be available on your system before building
FreeRouting. To do this on a Debian-like system (especaially
Ubuntu) javahelp2 and icedtea-netx-common must be installed.

Code: Select all
  apt-get isntall javahelp2 icedtea-netx-common


Check if both jar files are at the correct position:
- /usr/share/java/jh.jar
- /usr/share/icedtea-web/netx.jar
If they are not, you must search them and adapt the class path in
the script snipped below.

2 Compile FreeRouting:
-----------------------
If not already happen download FreeRouting form
[http://www.freerouting.net/fen/download/file.php?id=145] and save it
to say ~/tmp. Unzip it and copy and paste this snipped in to your
bash propmt to let it compile and create the java archive.

Code: Select all
  ( cd sources && javac  -classpath \
      /usr/share/java/jh.jar:/usr/share/icedtea-web/netx.jar  \
      `find -type f -name "*.java"` && \
      jar cfe ../fr.jar gui.MainApplication \
      `find -type f \( -name "*.class" -o -name "*.properties" \)` )


3 Running:
-----------

Code: Select all
  java -jar fr.jar -de $PATH_TO_YOUR_PROJECT/yourDsnFile.dsn



Many thanx again,
Foka
foka
 
Posts: 1
Joined: Sun Mar 23, 2014 12:50 pm

Re: The Freerouting project is now open source

Postby bibibo » Wed Jun 25, 2014 4:11 pm

Hello, How can i do executable Freerouter application ? If i pushed Shift+F11 it created dist folder. I tried launch Freerouter.jar but some errors appear.

Code: Select all
Exception in thread "main" java.lang.UnsupportedClassVersionError: gui/MainApplication : Unsupported major.minor version 52.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
   at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
   at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
bibibo
 
Posts: 6
Joined: Fri Oct 12, 2012 9:01 pm

Re: The Freerouting project is now open source

Postby russian » Wed Jun 25, 2014 4:17 pm

"Unsupported major.minor version 52.0" means you have really old version of java installed, you need to install newer java. Google knows the details.

java 5 is totally end of life a WHILE ago, I bet java 7 would be good enough.
russian
 
Posts: 6
Joined: Wed Jun 18, 2014 1:43 pm

Next

Return to News

Who is online

Users browsing this forum: No registered users and 1 guest

cron