HI!! i'm trying to compile the source on NetBeans IDE 4.1 using Java SDK 1.4.2 and i'm getting this error:
symbol : method getHome ()
location: class net.jxta.ext.config.Configurator
File file = new File(c.getHome()+"/PlatformConfig");
symbol : method setHome (java.io.File)
location: class net.jxta.ext.config.Configurator
Configurator.setHome(FS.getHome());
At JxtaConfigurator.java. I googled the library net.jxta.ext.config.Configurator and the methods getHome() and setHome() have been DEPRECATED!!! How can i solve this problem?? I'll aprreciate a brief answer about this!! :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i think all but the latest JXTA release should work. Have you tried to use the jxta release included in CVS Head? (are you trying to build CVS head at all)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, in an effort I upgraded CVS head to latest jxta release (2.5). just get the CVS and it should work.
The configuration stuff needed a more or less big refactoring, but given that 2.5 has much better API for configuration, I hope this was worth it.
Note, that saving settings in the preference dialog has currently a glitch that prevents those settings from properly being read on next startup. So edit the src/conf/DefaultConfiguration.xml manually for now to get that setup.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HI!! i'm trying to compile the source on NetBeans IDE 4.1 using Java SDK 1.4.2 and i'm getting this error:
symbol : method getHome ()
location: class net.jxta.ext.config.Configurator
File file = new File(c.getHome()+"/PlatformConfig");
symbol : method setHome (java.io.File)
location: class net.jxta.ext.config.Configurator
Configurator.setHome(FS.getHome());
At JxtaConfigurator.java. I googled the library net.jxta.ext.config.Configurator and the methods getHome() and setHome() have been DEPRECATED!!! How can i solve this problem?? I'll aprreciate a brief answer about this!! :)
By the way i'm using latest version of Jxta..
the released sources do only work with the libraries provided with that release.
Anyway, the HEAD is currently usable (to a certain degree) ... so maybe try that. It should work with the latest libs.
- asac
> HI!! i'm trying to compile the source on NetBeans
> IDE 4.1 using Java SDK 1.4.2 and i'm getting this
Just remembered that the cvs HEAD will only work with sdk 1.5. If that is no option for you let me know.
Hi,
I'm trying to compile the jxtaim and throws me the following error:
symbol : method getJXTAHome()
location: class net.jxta.ext.config.Configurator
System.out.println("JXTAHOME=" + pc.getJXTAHome());
symbol : method getJXTAHome()
location: class net.jxta.ext.config.Configurator
new File(pc.getJXTAHome()).mkdir();
symbol : method getJXTAHome()
location: class net.jxta.ext.config.Configurator
log.info("writing platform config to '" + pc.getJXTAHome()
symbol : method getHome()
location: class net.jxta.ext.config.Configurator
File file = new File(c.getHome() + "/PlatformConfig");
which is the same as the previous.
Using JDK 1.6, and JXTA-JXSE 2.5, on Netbeans 6.1 .
i think all but the latest JXTA release should work. Have you tried to use the jxta release included in CVS Head? (are you trying to build CVS head at all)?
Hi, in an effort I upgraded CVS head to latest jxta release (2.5). just get the CVS and it should work.
The configuration stuff needed a more or less big refactoring, but given that 2.5 has much better API for configuration, I hope this was worth it.
Note, that saving settings in the preference dialog has currently a glitch that prevents those settings from properly being read on next startup. So edit the src/conf/DefaultConfiguration.xml manually for now to get that setup.