الخميس، 25 نوفمبر 2010

How to convert JBuilder project files (jpx files) to Eclipse files

*Download Perl from here
setup and restart

Once you've installed perl and rebooted into Windows, bring up a DOS window. It doesn't matter what directory you are in for now. Just type in:
perl -v

Running your first Perl script: Hello World!

Use notepad or some simple text editor (not MS Word!) to create a file with this line in it. You can cut and paste it directly from here:
print "hello world\n";
Save the file as "hello.pl" and turn to your DOS session and type:
perl hello.pl
The screen should show
hello world
right underneath.
Congratulations, you've just run your first perl script!
==========================================
**Converting jpx to eclipse project files.
Place jpx2eclipse.pl into the same directory of the jpx file.
if swing project remove dbswing.jar, jbcl.jar from libraries dependency project and rebuild(from jbuilder)
open cmd --> go to project location then type
ex--> D:\Agent\ChilderenAgent.precvs>jpx2eclipse.pl ChilderenAgent.jpx

Then, in Eclipse, select File > Import... > Existing Projects into Workspace and open the directory containing the JPX file.

in eclipse
project->properties->java build path ->source->add folder ->src
project->properties->java build path -> libraries->add library->dbswing.jar,jbcl.jar
rebuild,run 
==========================================
more about Perl

ليست هناك تعليقات:

إرسال تعليق