× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
NielsGron reported 2012-05-03T19:28:47Z  · last modified 2012-05-03T21:42:06Z

Add new OpenAPI -> File AQProjectFile.getLocalFile()


Priority Low
Complexity Unknown
Component Open API - Project
Version 11.0

User needs to be able to get the base path of a Profile file so that files may be save relative to the Project location in the filesystem.  Example is ...

var rootPath = aqua.project.getAquaScriptsRootFolder().getLocalFile();
var myFile = rootPath + "/file.txt";
aqua.console.println("Save file to ... " + myFile);

Which provides a result of :

>> Save file to ... /home/username/test/NielsAquaProject/AquaScripts/file.txt

rootPath is a java.io.File ...

http://docs.oracle.com/javase/6/docs/api/java/io/File.html

 

Issue #6908

Closed
Fixed
Resolved 2012-05-03T19:35:02Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017