open eclipse and import existing projects with the borg_src folder as root. Eclipse should show 5 projects there. Import them all.
close the servlet and palm conduits projects. You probably don't need them
set up a run task for a Java Application. The easiest way is to find BORGCalendarUI\src\net\sf\borg\control\Borg.java in the eclipse package explorer, right click, and select Run as Java Application.
If you get any errors, post them here. I am doing all this on a machine that I use to build BORG. I am not sure what errors might happen on a machine that has never built BORG. There may or may not be something else that you need to configure.
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello, im new to borg application.
I have followed your steps to run the application.
i got the following error,
Exception in thread "main" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at net.sf.borg.ui.util.Banner.initComponents(Banner.java:96)
at net.sf.borg.ui.util.Banner.<init>(Banner.java:53)
at net.sf.borg.control.Borg.init(Borg.java:342)
at net.sf.borg.control.Borg.main(Borg.java:111)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Take a look here: https://sourceforge.net/forum/message.php?msg_id=5621600. For the latest version, you just need to add 2 JARs and 1 folder to the classpath when running from inside Eclipse. Your error looks like the one you get if you don't include the res folder in the classpath.
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
DB URL is: not-set
Uncaught error fetching image:
java.lang.NullPointerException
at sun.awt.image.URLImageSource.getConnection(Unknown Source)
at sun.awt.image.URLImageSource.getDecoder(Unknown Source)
at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
at sun.awt.image.ImageFetcher.run(Unknown Source)
I use MySql.
Thanks again,
Tony
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My guess is that there is a problem finding the splash image. Make sure your run configuration classpath contains the res folders like this: http://www.mbcsoft.com/borg/cp.jpg
When I import the 1.5.2 source into eclipse, this is already set up correctly. I am not sure why it would not work for you.
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone !!
I've got the source code of version 1.5.2. Can you tell me how I can execute Borg directly from Eclipse? I'm not very expert with this IDE.
Thanks,
Tony
If you get any errors, post them here. I am doing all this on a machine that I use to build BORG. I am not sure what errors might happen on a machine that has never built BORG. There may or may not be something else that you need to configure.
Mike
hello, im new to borg application.
I have followed your steps to run the application.
i got the following error,
Exception in thread "main" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at net.sf.borg.ui.util.Banner.initComponents(Banner.java:96)
at net.sf.borg.ui.util.Banner.<init>(Banner.java:53)
at net.sf.borg.control.Borg.init(Borg.java:342)
at net.sf.borg.control.Borg.main(Borg.java:111)
resolved!! Thanks
Take a look here: https://sourceforge.net/forum/message.php?msg_id=5621600. For the latest version, you just need to add 2 JARs and 1 folder to the classpath when running from inside Eclipse. Your error looks like the one you get if you don't include the res folder in the classpath.
Mike
Thanks for the reply!
The first error is:
DB URL is: not-set
Uncaught error fetching image:
java.lang.NullPointerException
at sun.awt.image.URLImageSource.getConnection(Unknown Source)
at sun.awt.image.URLImageSource.getDecoder(Unknown Source)
at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
at sun.awt.image.ImageFetcher.run(Unknown Source)
I use MySql.
Thanks again,
Tony
My guess is that there is a problem finding the splash image. Make sure your run configuration classpath contains the res folders like this: http://www.mbcsoft.com/borg/cp.jpg
When I import the 1.5.2 source into eclipse, this is already set up correctly. I am not sure why it would not work for you.
Mike