JSFile deprecated in 6.1 version?

Hi all

Is JSFile type deprecated?

Best regards. Roberto Blasco.

Windows 7 Ultimate
Servoy Version: 6.1.0 - build 1418

Hi Roberto,

It’s not deprecated. Perhaps you are using some functions with unsupported types. 6.1 is really checking for that.

Hi ROCLASI

This code

/** @type {JSFile} */
	var jsfile = plugins.file.showFileOpenDialog(1,null,false,null,null,null);
	if (jsfile){
		nombre = jsfile.getName();
		_ruta = jsfile.getAbsolutePath();
	}else{
		plugins.dialogs.showErrorDialog("ERROR","Error con el fichero " + _ruta, "Aceptar");
		return;
	}

throws the warning “The type JSFile is deprecated”

Best regards. Roberto Blasco.

yes, look here: http://wiki.servoy.com/display/public/D … is+release

Behavior Changes

Subtypes of plugins (for example JSFile of the file plugin) must now be prefixed with their plugin name when used in JSDoc for typing, to prevent clashes between different plugins having sub types using the same name. Example: use @type {plugins.file.JSFile} instead of @type {JSFile}

Thanks a lot Harjo :D