You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
(3) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
|
Nov
|
Dec
|
From: Konrad <khg...@ya...> - 2003-09-26 20:22:42
|
Ok, thanks David. I will try to take a stab at it once I have a little more breathing room on my project. Thanks again, and great work! :) Have a nice weekend! --- "Colwell, David" <DCo...@sp...> wrote: > Ross is correct -- my bad. If you're feel like > contributing, you're > more than welcome to take a stab at extending the > generator framework. > Chat with Ross over design details. > > David > > -----Original Message----- > From: Konrad [mailto:khg...@ya...] > Sent: Friday, September 26, 2003 12:54 PM > To: arch4j > Subject: RE: [Arch4j-users] [Java Class Generator] > Loading existing > class from .java file? > > Hi David. > > Do you mean the "Java Class Generator"? If so, can > you supply a very simple example of how that would > be > done? > > According to Ross, though, modifying an existing > .java > source file is not possible... > > Thank you both for your replies! :) > > > > --- "Colwell, David" <DCo...@sp...> > wrote: > > If you simply need to load a Java source file, > > modify it, and > > write it out to file then the generator package > > provides a nice > > interface to creating code. If you are hoping to > > modify bytecode at > > runtime and reload a class then you'll need to > start > > looking at writing > > your own classloader. > > > > ~Dave > > > > -----Original Message----- > > From: Konrad [mailto:khg...@ya...] > > Sent: Friday, September 26, 2003 11:07 AM > > To: arch4j > > Subject: [Arch4j-users] [Java Class Generator] > > Loading existing class > > from .java file? > > > > Hello. > > > > I was wondering if it is possible to load an > > existing > > class definition (i.e. from a .java file), make > some > > additions/changes (i.e. add a "extends <class>" > and > > an > > import statement), and write the updated file out > to > > a > > different location? > > > > Thank you. > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Shopping - with improved product > > search > > http://shopping.yahoo.com > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Arch4j-users mailing list > > Arc...@li... > > > https://lists.sourceforge.net/lists/listinfo/arch4j-users > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product > search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Arch4j-users mailing list > Arc...@li... > https://lists.sourceforge.net/lists/listinfo/arch4j-users __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Colwell, D. <DCo...@sp...> - 2003-09-26 18:37:41
|
Ross is correct -- my bad. If you're feel like contributing, you're more than welcome to take a stab at extending the generator framework. Chat with Ross over design details. David -----Original Message----- From: Konrad [mailto:khg...@ya...]=20 Sent: Friday, September 26, 2003 12:54 PM To: arch4j Subject: RE: [Arch4j-users] [Java Class Generator] Loading existing class from .java file? Hi David. Do you mean the "Java Class Generator"? If so, can you supply a very simple example of how that would be done? According to Ross, though, modifying an existing .java source file is not possible... Thank you both for your replies! :) --- "Colwell, David" <DCo...@sp...> wrote: > If you simply need to load a Java source file, > modify it, and > write it out to file then the generator package > provides a nice > interface to creating code. If you are hoping to > modify bytecode at > runtime and reload a class then you'll need to start > looking at writing > your own classloader. >=20 > ~Dave >=20 > -----Original Message----- > From: Konrad [mailto:khg...@ya...]=20 > Sent: Friday, September 26, 2003 11:07 AM > To: arch4j > Subject: [Arch4j-users] [Java Class Generator] > Loading existing class > from .java file? >=20 > Hello. >=20 > I was wondering if it is possible to load an > existing > class definition (i.e. from a .java file), make some > additions/changes (i.e. add a "extends <class>" and > an > import statement), and write the updated file out to > a > different location? >=20 > Thank you. >=20 > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product > search > http://shopping.yahoo.com >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Arch4j-users mailing list > Arc...@li... > https://lists.sourceforge.net/lists/listinfo/arch4j-users __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Arch4j-users mailing list Arc...@li... https://lists.sourceforge.net/lists/listinfo/arch4j-users |
From: Konrad <khg...@ya...> - 2003-09-26 17:55:19
|
Hi David. Do you mean the "Java Class Generator"? If so, can you supply a very simple example of how that would be done? According to Ross, though, modifying an existing .java source file is not possible... Thank you both for your replies! :) --- "Colwell, David" <DCo...@sp...> wrote: > If you simply need to load a Java source file, > modify it, and > write it out to file then the generator package > provides a nice > interface to creating code. If you are hoping to > modify bytecode at > runtime and reload a class then you'll need to start > looking at writing > your own classloader. > > ~Dave > > -----Original Message----- > From: Konrad [mailto:khg...@ya...] > Sent: Friday, September 26, 2003 11:07 AM > To: arch4j > Subject: [Arch4j-users] [Java Class Generator] > Loading existing class > from .java file? > > Hello. > > I was wondering if it is possible to load an > existing > class definition (i.e. from a .java file), make some > additions/changes (i.e. add a "extends <class>" and > an > import statement), and write the updated file out to > a > different location? > > Thank you. > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product > search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Arch4j-users mailing list > Arc...@li... > https://lists.sourceforge.net/lists/listinfo/arch4j-users __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Greinke, R. <RGr...@sp...> - 2003-09-26 17:05:09
|
The current generator doesn't have a parser yet to create a JavaSourceFile from existing code. I'll add it to the list, though. Thanks for the idea. Ross -----Original Message----- From: Konrad [mailto:khg...@ya...]=20 Sent: Friday, September 26, 2003 11:07 AM To: arch4j Subject: [Arch4j-users] [Java Class Generator] Loading existing class from .java file? Hello. I was wondering if it is possible to load an existing class definition (i.e. from a .java file), make some additions/changes (i.e. add a "extends <class>" and an import statement), and write the updated file out to a different location? Thank you. __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Arch4j-users mailing list Arc...@li... https://lists.sourceforge.net/lists/listinfo/arch4j-users |
From: Konrad <khg...@ya...> - 2003-09-26 16:07:58
|
Hello. I was wondering if it is possible to load an existing class definition (i.e. from a .java file), make some additions/changes (i.e. add a "extends <class>" and an import statement), and write the updated file out to a different location? Thank you. __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Ross G. <rgr...@sp...> - 2002-11-13 16:36:47
|
Thanks for checking out Arch4J. There is a start to the documentation effort on the Arch4J home page, http://arch4j.sourceforge.net <http://arch4j.sourceforge.net> and a component guide for the generator at http://arch4j.sourceforge.net/components/generator/index.html <http://arch4j.sourceforge.net/components/generator/index.html> Take a look at the method named testJavaSourceFile() in the GeneratorTest JUnit class. It is an example of how to paste together the various pieces, programmatically, of a Java file. The intention of the class is for developers to create their own template classes which define the structure of a destination Java class, defining the template with a JavaSourceFile and all of the other generator components. The specifics of generating an instance of a class through your template is then up to you. Your template could be a class with a main method, which takes specific arguments from the command line, such as the class name, etc. then use that to generate the class. We are currently working to improve the documentation and to come up with some better examples to show this "template" style of development. Stay tuned! A default constructor was intentionally left out of the definition of the JavaSourceFile class. This forces consumers to specify the sourcePath and the object definition when creating an instance of a JavaSourceFile. You can easily extend the class, as long as you declare a constructor that has the same signature. You are then free to add any other constructors you wish. If you make improvements to the code that others could benefit from, let me know and I'll work on integrating them in to the main source tree. Thanks, Ross Greinke -----Original Message----- From: kiran malla Hi, I am new to arc4j.. we intend to use code generator component.The component is good but there is no proper documentation availabe to implement the functionality except Java Apis . we have one doubt. some of the methods have been delcared as protected in JavaSourceFile class. this class is without a default constructor. Hence we are unable to extend it in our code. kindly suggest how we can use the methods.. we are mainly interested in the gatherimports method. Regards, Kiran Malla. |
From: kiran m. <ki...@bs...> - 2002-11-13 12:26:24
|
Hi, I am new to arc4j.. we intend to use code generator component.The = component is good but there is no proper documentation availabe to = implement the functionality except Java Apis . we have one doubt. some = of the methods have been delcared as protected in JavaSourceFile class. = this class is without a default constructor. Hence we are unable to = extend it in our code. kindly suggest how we can use the methods.. we = are mainly interested in the gatherimports method. Regards, Kiran Malla. |
From: Allan W. <al...@wi...> - 2002-04-29 04:02:07
|
Hello, Arch4J release 1.0.2 is now available. This release adds support for Websphere JMS services, some more direction in the Persistence component, and a New UI Framework for building Swing interfaces. Thank you for your continued support. Regards, -Allan Wick |
From: Allan W. <al...@wi...> - 2002-03-10 03:33:34
|
Hello again, I have updated the Where's Lunch application to include the installation document. Sorry for not including it in the original release ;) Regards, -Allan Wick |
From: Allan W. <al...@wi...> - 2002-03-09 06:43:33
|
Hello again, Where's lunch, the sample application that utilizes the Arch4J components, has been released. Regards, -Allan Wick |
From: Allan W. <al...@wi...> - 2002-03-09 05:32:54
|
Hello, Arch4J release 1.0.1 is now available. This release supports JDK1.4 as well as JBoss, enhancements to Data Access to use JDBC 2.0 classes for database pooling and RowSet caching. There will be a Where's Lunch very soon. Thank you for your continued support. Regards, -Allan Wick |