Re: Add javax.* packages

2000-11-20 Thread Philippe Laporte


Hi,
 I am very interested in this project. Can
you share what modifications you made, and what are your goals?
I have recently done the pthreads soft real-time port of Kaffe under
linux.
Thank you,
--
Philippe Laporte
Optimization Engineer Tel: (510) 527-4025 ext 14
Transvirtual Technologies, Inc., Fax: (510) 559-3287
Berkeley, CA, USA. Email: [EMAIL PROTECTED]





C Pedley wrote:
Surely the Makefile.in files are automatically generated
from
the Makefile.am files and do not require modification. I forgot
to mention the first time that I have also updated the configure.in
file.
I am sure I wish to do this as I'm implementing the javax.realtime
package on top of a modified kaffe.
On Thu, 16 Nov 2000, Nic Ferrier wrote:
>
> >>> C Pedley [EMAIL PROTECTED]> 16-Nov-00 11:57:15 AM >>>
>
> >My approach so far has been: I have a new package I wish
> >to create, say called javax.new So I created a new folder
> >in the libraries/extensions folder, and then copied the
> >directory structure and makefile.am format from the servlet
> >package that is located here (obviously changing "servlet"
> >to "new" wherever this is appropriate). However, when
> >attempting to use these makefiles an error is thrown as
> >it doesn't know how to build the new.jar archive. Any
> >ideas?
>
> You have to alter the Makefile.in and run automake if you want to
> change the distrib.
>
> But are you sure you want to do that?
>
>
> Nic
>



Re: Add javax.* packages

2000-11-20 Thread Philippe Laporte



Hi,
 well it is not real real-time -:), but rather,
the threads are scheduled within the real-time scheduling class of Linux,
which is soft realtime.
I don't know when it will be merged in with the OpenVM version, although
this has been announced, so it should be in the near future.
In the mean-time I can send anyone the few files needed for soft real-time
on linux.
I do not have performance benchmarks yet, but I did get a significant
improvemnt on a single benchmark I use which I find to strain the mem alloc,
gc and string manipulation apsects of java performance.
Our ultimate goat at TVT is to have pocketlinux run under pthreads real-time.
Regards,
--
Philippe Laporte
Optimization Engineer
Tel: (510) 527-4025 ext 14
Transvirtual Technologies, Inc., Fax:
(510) 559-3287
Berkeley, CA, USA.
Email: [EMAIL PROTECTED]

Erik Hu wrote:

Hi
Philippe Based on RTSJ (www.rtj.org)
proposal, I have recently modified Kaffe for real-time applications. The
previous implementation has created a javax.realtime package and modified
the Kaffe VM for real-time purpose (jthread) under Linux. The modification
of Kaffe VM includes the priority inheritance protocol, management of RealtimeThread
and PeriodicThread, and other modifications. In
fact, the previous version was missing the memory modifications and some
other classes of the RTSJ specification. I also simplified the creation
of javax.realtime package into Klasses.jar (Klasses.jar = java.lang.* +
javax.realtime.*). Now,
Cris is going to complete some lacking parts of my previous implementation
and separate the javax.realtime package from Klasses.jar.
Could you please tell us your current
achievement of pthreads porting for Real-time applications ? When
will the ptherad real-time of Kaffe be merged into traditional Open Kaffe
VM ? Regards,Erik

- Original Message -

From:Philippe
Laporte

To: [EMAIL PROTECTED]

Sent: Monday, November 20, 2000 4:39
PM

Subject: Re: Add javax.* packages
Hi,
 I am very interested in this project. Can
you share what modifications you made, and what are your goals?
I have recently done the pthreads soft real-time port of Kaffe under
linux.
Thank you,
--
Philippe Laporte
Optimization Engineer Tel: (510) 527-4025 ext 14
Transvirtual Technologies, Inc., Fax: (510) 559-3287
Berkeley, CA, USA. Email: [EMAIL PROTECTED]









Re: Add javax.* packages

2000-11-20 Thread Erik Hu




Hi Philippe 

Based on RTSJ (www.rtj.org) proposal, I have recently modified 
Kaffe for real-time applications. The previous implementationhas created a 
javax.realtime package and modified theKaffe VM for real-time purpose 
(jthread) under Linux.The modification ofKaffe VM includes the 
priority inheritance protocol, managementof RealtimeThread and 
PeriodicThread, and other modifications. 

In fact, the previous versionwas missing the 
memory modifications and some other classes of the RTSJ specification. I also 
simplified the creation ofjavax.realtime package into Klasses.jar 
(Klasses.jar = java.lang.* + javax.realtime.*). 

Now, Crisis going to complete some lacking parts of myprevious 
implementation and separate the javax.realtime package from Klasses.jar. 

Could you please tell us your current achievement of pthreadsporting 
for Real-time applications ?When willthe ptherad 
real-timeof Kaffebe merged into traditional Open Kaffe VM ? 

Regards,
Erik

  - Original Message - 
  From: 
  Philippe Laporte 
  To: [EMAIL PROTECTED] 
  Sent: Monday, November 20, 2000 4:39 
  PM
  Subject: Re: Add javax.* packages
  Hi,  I am very interested in this 
  project. Can you share what modifications you made, and what are your goals? 
  I have recently done the pthreads soft real-time port of Kaffe under linux. 

  Thank you, --
Philippe Laporte
Optimization Engineer Tel: (510) 527-4025 ext 14
Transvirtual Technologies, Inc., Fax: (510) 559-3287
Berkeley, CA, USA. Email: [EMAIL PROTECTED] 



Re: Add javax.* packages

2000-11-19 Thread C Pedley


On Thu, 16 Nov 2000, Patrick Tullmann wrote:

 Could you send me/us the actual error message?  You updated the
 libraries/extensions/Makefile.am to include your new directory, right?
 Does the 'build-classes' target work if you invoke that directly?
 (Just cd into your object tree libraries/extensions/new/ and run 'make 
 build-classes'.)

The error I get it is of the form:
"No rule to make target new.jar, needed by all-am. Stop"

I have updated libraries/extension/Makefile.am to include the
new directory.

Trying "make build-classes" responds with:
"No rule to make target 'build-classes'. Stop"

I've also been tring to modify Thread.java and place the
modified version in Klasses.jar but attempting to "make
build-classes" with that responds with:
"./rebuildLib: .../kaffe-1.0.6/kaffe/kaffe/Kaffe: No
 such file or directory
 make: *** [lib/stamp] Error 127"

As you can see, I'm having a lot of trouble getting anything to
build.  Is there documentation about this anywhere?

Chris.




Re: Add javax.* packages

2000-11-16 Thread Nic Ferrier


 C Pedley [EMAIL PROTECTED] 16-Nov-00 11:57:15 AM 

My approach so far has been:  I have a new package I wish
to create, say called javax.new  So I created a new folder
in the libraries/extensions folder, and then copied the
directory structure and makefile.am format from the servlet
package that is located here (obviously changing "servlet"
to "new" wherever this is appropriate).  However, when
attempting to use these makefiles an error is thrown as
it doesn't know how to build the new.jar archive.  Any
ideas?

You have to alter the Makefile.in and run automake if you want to
change the distrib.

But are you sure you want to do that?


Nic



Re: Add javax.* packages

2000-11-16 Thread C Pedley


Surely the Makefile.in files are automatically generated from
the Makefile.am files and do not require modification.  I forgot
to mention the first time that I have also updated the configure.in
file.

I am sure I wish to do this as I'm implementing the javax.realtime
package on top of a modified kaffe.

On Thu, 16 Nov 2000, Nic Ferrier wrote:

 
  C Pedley [EMAIL PROTECTED] 16-Nov-00 11:57:15 AM 
 
 My approach so far has been:  I have a new package I wish
 to create, say called javax.new  So I created a new folder
 in the libraries/extensions folder, and then copied the
 directory structure and makefile.am format from the servlet
 package that is located here (obviously changing "servlet"
 to "new" wherever this is appropriate).  However, when
 attempting to use these makefiles an error is thrown as
 it doesn't know how to build the new.jar archive.  Any
 ideas?
 
 You have to alter the Makefile.in and run automake if you want to
 change the distrib.
 
 But are you sure you want to do that?
 
 
 Nic
 




Re: Add javax.* packages

2000-11-16 Thread Patrick Tullmann


 My approach so far has been: I have a new package I wish to create,
 say called javax.new So I created a new folder in the
 libraries/extensions folder, and then copied the directory structure
 and makefile.am format from the servlet package that is located here
 (obviously changing "servlet" to "new" wherever this is
 appropriate).

You've got the right approach.  I've got a similar library installed,
and it works.  (Though I performed all the black magic several months
ago and, of course, have forgotten the most critical bits.)

 However, when attempting to use these makefiles an error is thrown
 as it doesn't know how to build the new.jar archive.  Any ideas?

Could you send me/us the actual error message?  You updated the
libraries/extensions/Makefile.am to include your new directory, right?
Does the 'build-classes' target work if you invoke that directly?
(Just cd into your object tree libraries/extensions/new/ and run 'make 
build-classes'.)

-Pat

- -  ---  ---  --   --  - -   -
Pat Tullmann   [EMAIL PROTECTED]
   It said "Windows 95 or better" so FreeBSD should run it.



Re: Add javax.* packages

2000-11-16 Thread Godmar Back



If you add .java files, you must run developers/update-class-list
from the libraries/javalib directory to add those to the Makefile.am.
I'm not sure whether that will also add new directories automatically,
but studying that script should help you.

- Godmar

 
 Surely the Makefile.in files are automatically generated from
 the Makefile.am files and do not require modification.  I forgot
 to mention the first time that I have also updated the configure.in
 file.
 

Yet another example of the mountain of confusion that is automake.