Re: Oracle Mobile application framework
Some standard java se components are missing from compact 2: Compiling 905 source files to C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\build\classes javac 1.8.0 C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\discovery\kerberos\Client.java:36: error: KerberosPrincipal is not available in profile 'compact2' import javax.security.auth.kerberos.KerberosPrincipal; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\discovery\kerberos\Client.java:118: error: KerberosPrincipal is not available in profile 'compact2' private static KerberosPrincipal getKerberosPrincipal( ^ C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:23: warning: [deprecation] JavaSpaceAdmin in com.sun.jini.outrigger has been deprecated import com.sun.jini.outrigger.JavaSpaceAdmin; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:26: error: BorderLayout is not available in profile 'compact2' import java.awt.BorderLayout; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:27: error: Component is not available in profile 'compact2' import java.awt.Component; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:28: error: ActionEvent is not available in profile 'compact2' import java.awt.event.ActionEvent; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:29: error: ActionListener is not available in profile 'compact2' import java.awt.event.ActionListener; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:30: error: MouseAdapter is not available in profile 'compact2' import java.awt.event.MouseAdapter; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:31: error: MouseEvent is not available in profile 'compact2' import java.awt.event.MouseEvent; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:32: error: MouseListener is not available in profile 'compact2' import java.awt.event.MouseListener; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:33: error: WindowAdapter is not available in profile 'compact2' import java.awt.event.WindowAdapter; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:34: error: WindowEvent is not available in profile 'compact2' import java.awt.event.WindowEvent; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:35: error: WindowListener is not available in profile 'compact2' import java.awt.event.WindowListener; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:60: error: BorderFactory is not available in profile 'compact2' import javax.swing.BorderFactory; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:61: error: DefaultListModel is not available in profile 'compact2' import javax.swing.DefaultListModel; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:62: error: Icon is not available in profile 'compact2' import javax.swing.Icon; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:63: error: JCheckBoxMenuItem is not available in profile 'compact2' import javax.swing.JCheckBoxMenuItem; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:64: error: JFrame is not available in profile 'compact2' import javax.swing.JFrame; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:65: error: JLabel is not available in profile 'compact2' import javax.swing.JLabel; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:66: error: JList is not available in profile 'compact2' import javax.swing.JList; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:67: error: JMenu is not available in profile 'compact2' import javax.swing.JMenu; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:68: error: JMenuBar is not available in profile 'compact2' import javax.swing.JMenuBar; C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\example\browser\Browser.java:69: error: JMenuItem is not available in pro
Re: Oracle Mobile application framework
@Peter - Can you be specific about why the service browser doesn’t build on Java 8 Compact Profile 2? @Patricia - The service browser is in the original JTSK, but is also in the River-examples project. What I was saying was that the examples should be removed from the JTSK, and hence the service browser with them, but it’s in the other project, so that’s OK. Although, really, the service browser isn’t a great fit in the river-examples project either - It could arguably be made stand-alone, as a utility in itself. There’s certainly a lot of functionality that could be added to it, and that would make a great place for someone to add value. Cheers, Greg. On Feb 14, 2015, at 5:39 AM, Peter Firmstone wrote: > Still just pondering the possibilities. > > Compact 2 profile doesn't include swing, awt, kerberos, IIOP or Corba. > > But it is interesting to consider how we might support it, such as by > providing a platform.jar that does. > > On 14/02/2015 3:08 PM, Patricia Shanahan wrote: >> We do need to understand why it does not build. That issue might affect >> other River activities. Ideally, it would be changed to make it work in MAF. >> >> I feel the browser is a useful part of the examples. If it cannot be made >> compatible with the MAF I think it would be better to keep it in the >> examples and separate out the examples rather than to remove it from the >> examples. > > Yes, I agree. > >> >> Patricia >> >> >> On 2/13/2015 7:48 PM, Greg Trasuk wrote: >>> Hi Peter: >>> >>> I’m not sure if supporting MAF is critical to River’s success, but even so >>> I am in favour of removing the examples from the JTSK build. Anyone else >>> have an opinion? >>> >>> I’m curious though, why it’s the browser specifically that doesn’t build - >>> what did you find? >>> >>> Cheers, >>> >>> Greg. >>> >>> On Feb 13, 2015, at 6:59 PM, Peter wrote: >>> Maf 2.1.0 supports java 8 compact profile 2. If I remove the browser example from qa-refactor it builds on this profile. Greg, if your including the browser in the river examples project, I can delete it? If so, we can support iphone and android. Regards, Peter. >>> >
Re: Oracle Mobile application framework
Still just pondering the possibilities. Compact 2 profile doesn't include swing, awt, kerberos, IIOP or Corba. But it is interesting to consider how we might support it, such as by providing a platform.jar that does. On 14/02/2015 3:08 PM, Patricia Shanahan wrote: We do need to understand why it does not build. That issue might affect other River activities. Ideally, it would be changed to make it work in MAF. I feel the browser is a useful part of the examples. If it cannot be made compatible with the MAF I think it would be better to keep it in the examples and separate out the examples rather than to remove it from the examples. Yes, I agree. Patricia On 2/13/2015 7:48 PM, Greg Trasuk wrote: Hi Peter: I’m not sure if supporting MAF is critical to River’s success, but even so I am in favour of removing the examples from the JTSK build. Anyone else have an opinion? I’m curious though, why it’s the browser specifically that doesn’t build - what did you find? Cheers, Greg. On Feb 13, 2015, at 6:59 PM, Peter wrote: Maf 2.1.0 supports java 8 compact profile 2. If I remove the browser example from qa-refactor it builds on this profile. Greg, if your including the browser in the river examples project, I can delete it? If so, we can support iphone and android. Regards, Peter.
Re: Oracle Mobile application framework
We do need to understand why it does not build. That issue might affect other River activities. Ideally, it would be changed to make it work in MAF. I feel the browser is a useful part of the examples. If it cannot be made compatible with the MAF I think it would be better to keep it in the examples and separate out the examples rather than to remove it from the examples. Patricia On 2/13/2015 7:48 PM, Greg Trasuk wrote: Hi Peter: I’m not sure if supporting MAF is critical to River’s success, but even so I am in favour of removing the examples from the JTSK build. Anyone else have an opinion? I’m curious though, why it’s the browser specifically that doesn’t build - what did you find? Cheers, Greg. On Feb 13, 2015, at 6:59 PM, Peter wrote: Maf 2.1.0 supports java 8 compact profile 2. If I remove the browser example from qa-refactor it builds on this profile. Greg, if your including the browser in the river examples project, I can delete it? If so, we can support iphone and android. Regards, Peter.
Re: Oracle Mobile application framework
Hi Peter: I’m not sure if supporting MAF is critical to River’s success, but even so I am in favour of removing the examples from the JTSK build. Anyone else have an opinion? I’m curious though, why it’s the browser specifically that doesn’t build - what did you find? Cheers, Greg. On Feb 13, 2015, at 6:59 PM, Peter wrote: > Maf 2.1.0 supports java 8 compact profile 2. > > If I remove the browser example from qa-refactor it builds on this profile. > > Greg, if your including the browser in the river examples project, I can > delete it? > > If so, we can support iphone and android. > > Regards, > > Peter.
Oracle Mobile application framework
Maf 2.1.0 supports java 8 compact profile 2. If I remove the browser example from qa-refactor it builds on this profile. Greg, if your including the browser in the river examples project, I can delete it? If so, we can support iphone and android. Regards, Peter.