From: Frank C. <fc...@pu...> - 2004-11-26 06:26:59
|
I took a look at the J source with an eye to see how I could embed J into TestMaker. It seems to me that the easiest way would be for me to encapsulate TM's functions and gui into a Java bean that extends a JPanel. The panel would appear below the Editor and above the StatusBar. TM would use the J Main class to start-up, open the Editor, and assign the Frame, then init and show the TM panel. I'm wondering if you would be open to my patching Frame to have a second initializer method that takes the TM JPanel. If this init method is used the StatusBar would be added to a new border layout panel and appear in the South position. The TestMaker bean would appear in the center position. What do you think about the approach? -Frank On Nov 24, 2004, at 7:49 PM, Peter Graves wrote: > On Wed, 24 Nov 2004 at 12:37:02 -0800, Frank Cohen wrote: >> Hi J devs: J is a very nice program editor. I'm now using it daily to >> edit Java and Python scripts. Congratulations on a great open-source >> editor project. >> >> I am maintainer of an open-source test tool named TestMaker. Details >> are found at http://www.pushtotest.com. TestMaker embeds Jython as its >> scripting language. The TestMaker GUI environment offers a simple text >> editor that is home grown. It worked fine when my test scripts were a >> few dozen lines long but is now having problems with 500+ line >> scripts. >> It seems to me that J would make a good replacement. >> >> I'm wondering if anyone has tried to embed J into an Java application? >> Are there things for me to be concerned about in doing so? > > I'm not aware of any project that has actually embedded j in another > application up to now, so I don't really have any information on the > technical challenges this may pose. > > There is, however, potentially a licensing issue. J is GPLed, so it can > only be embedded in GPLed applications. It appears that TestMaker has > an Apache-style license, so on the face of it, embedding j in TestMaker > would be a violation of j's license, unless TestMaker were to switch to > the GPL. > > -Peter > > --- Frank Cohen, PushToTest, http://www.PushToTest.com, phone: 408 374 7426 Author of "Java Testing and Design: From Unit Tests to Automated Web Tests" from Prentice Hall, details at http://thebook.pushtotest.com |