< prev index next >

src/jdk.jpackage/linux/native/libapplauncher/LinuxPlatform.cpp

Print this page

        

*** 79,89 **** return FilePath::IncludeTrailingSeparator( GetPackageRootDirectory()) + _T("bin"); } TString LinuxPlatform::GetPackageRuntimeBinDirectory() { ! return FilePath::IncludeTrailingSeparator(GetPackageRootDirectory()) + _T("runtime/bin"); } void LinuxPlatform::ShowMessage(TString title, TString description) { printf("%s %s\n", PlatformString(title).toPlatformString(), PlatformString(description).toPlatformString()); --- 79,90 ---- return FilePath::IncludeTrailingSeparator( GetPackageRootDirectory()) + _T("bin"); } TString LinuxPlatform::GetPackageRuntimeBinDirectory() { ! return FilePath::IncludeTrailingSeparator(GetPackageRootDirectory()) ! + _T("runtime/bin"); } void LinuxPlatform::ShowMessage(TString title, TString description) { printf("%s %s\n", PlatformString(title).toPlatformString(), PlatformString(description).toPlatformString());
*** 1015,1026 **** } return FindXMLChild(root->_next, name); } ! /* Search for an attribute with the given name and returns the contents. Returns NULL if ! * attribute is not found */ TCHAR* FindXMLAttribute(XMLAttribute* attr, const TCHAR* name) { if (attr == NULL) return NULL; if (JPACKAGE_STRCMP(attr->_name, name) == 0) return attr->_value; return FindXMLAttribute(attr->_next, name); --- 1016,1027 ---- } return FindXMLChild(root->_next, name); } ! /* Search for an attribute with the given name and returns the contents. ! * Returns NULL if attribute is not found */ TCHAR* FindXMLAttribute(XMLAttribute* attr, const TCHAR* name) { if (attr == NULL) return NULL; if (JPACKAGE_STRCMP(attr->_name, name) == 0) return attr->_value; return FindXMLAttribute(attr->_next, name);
< prev index next >