Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
6bc65c48
Commit
6bc65c48
authored
Jul 01, 2013
by
Sabine Teufl
Browse files
windows bug fixed
refs 1407
parent
cc02dcc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.mira.ui/trunk/src/org/fortiss/af3/mira/ui/utils/RequirementUtils.java
View file @
6bc65c48
...
...
@@ -275,10 +275,8 @@ public class RequirementUtils {
throw
new
IllegalStateException
(
"Cannot find acrobat reader."
);
String
acrobat
=
regresult
.
substring
(
indexstart
+
6
,
indexend
).
trim
();
if
(
runtime
.
exec
(
format
(
"%s /A \"page=%d\" \"%s\""
,
acrobat
,
page
,
file
.
getAbsoluteFile
()))
.
waitFor
()
!=
0
)
throw
new
IllegalStateException
(
"Cannot launch acrobat reader."
);
runtime
.
exec
(
format
(
"%s /A \"page=%d\" \"%s\""
,
acrobat
,
page
,
file
.
getAbsoluteFile
()));
}
else
if
(
System
.
getProperty
(
"os.name"
).
contains
(
"OS X"
))
{
// @CodeFormatterOff
String
applescript
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment