• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: porting methodology
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: porting methodology


  • Subject: Re: porting methodology
  • From: Jean-François Veillette <email@hidden>
  • Date: Tue, 31 May 2005 16:56:59 -0400

If you find yourself in a dead-end concerning the port of a Category, try « javaassist ».
http://www.csg.is.titech.ac.jp/~chiba/javassist/
http://www.jboss.org/products/javassist.html


I didn't try it myself, but looking at their doc, it seem you can do pretty much what categories where used for.

see (from http://java.sys-con.com/read/38672.htm ):
ClassPool pool = ClassPool.getDefault();
CtClass pt = pool.get("org.geometry.Point");
CtMethod m = CtNewMethod.make("public int xmove(int dx) { x += dx; }", pt);
pt.addMethod(m);



other libraries are available, but I have to admit that the last time I used it was in '97 (or so). At that time, it was my first Java project and wanted features of ObjC to be available. I've never used it since, maybe because my mind got used to think the 'java' way.


- jfv


Le 05-05-24, à 09:37, George Domurot a écrit :

I recall there being a utility that will help you convert your 4.5 project into the "5" realm. Here's a link with some information:

http://homepage.mac.com/mmalc/delta5/

On May 23, 2005, at 3:07 AM, Mohamed Mnajja wrote:

Hello,
 
i'm trying to define the methodology to migrate
an existent set of applications that are developped
under WO 4.5 (written in objective-C) to WO 5.2. this
means that i have to migrate the source code
from Objective-C to Java.
 
my questions are:
   1- is there any defined methodology that i should
    follow to perform the porting.
   2- can you give me where can i find the problems
    encountred by other developpers that made the same porting
    when they used the JavaConverter
   3- is there any problem that i will encounter with the porting of
    the nib files. and how to avoid them.
 
thank you for your consideration,
Mnajja.
 
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >porting methodology (From: "Mohamed Mnajja" <email@hidden>)
 >Re: porting methodology (From: George Domurot <email@hidden>)

  • Prev by Date: Re: Empty relationship that isn't null >> problem with one-to-one
  • Next by Date: XMLHttpRequest object and WebObjects
  • Previous by thread: Re: porting methodology
  • Next by thread: Optimistic Locking Example
  • Index(es):
    • Date
    • Thread