Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uaaltools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
universAAL
uaaltools
Commits
1cff9308
Commit
1cff9308
authored
11 years ago
by
Dott. Federico Volpini
Browse files
Options
Downloads
Patches
Plain Diff
solved part issue when persistence is enabled and a cancel-recover operation takes place
parent
8b563b4b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mpa/org.universaal.tools.packaging.tool/src/org/universaal/tools/packaging/tool/gui/GUI.java
+6
-4
6 additions, 4 deletions
...tool/src/org/universaal/tools/packaging/tool/gui/GUI.java
with
6 additions
and
4 deletions
mpa/org.universaal.tools.packaging.tool/src/org/universaal/tools/packaging/tool/gui/GUI.java
+
6
−
4
View file @
1cff9308
...
...
@@ -147,6 +147,7 @@ public class GUI extends WizardMod {
destination
=
mpa
.
getAAL_UAPP
().
getDestination
();
}
else
{
System
.
out
.
println
(
"[WARNING] Unable to load data from recovery file"
);
this
.
recovered
=
false
;
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
@@ -372,7 +373,7 @@ public class GUI extends WizardMod {
@Override
public
boolean
performFinish
()
{
PlatformUI
.
getWorkbench
().
getActiveWorkbenchWindow
().
getShell
().
setCursor
(
new
Cursor
(
PlatformUI
.
getWorkbench
().
getActiveWorkbenchWindow
().
getShell
().
getDisplay
(),
SWT
.
CURSOR_WAIT
));
getShell
().
setCursor
(
new
Cursor
(
PlatformUI
.
getWorkbench
().
getActiveWorkbenchWindow
().
getShell
().
getDisplay
(),
SWT
.
CURSOR_WAIT
));
try
{
...
...
@@ -480,7 +481,7 @@ public class GUI extends WizardMod {
e
.
printStackTrace
();
}
PlatformUI
.
getWorkbench
().
getActiveWorkbenchWindow
().
getShell
().
setCursor
(
new
Cursor
(
PlatformUI
.
getWorkbench
().
getActiveWorkbenchWindow
().
getShell
().
getDisplay
(),
SWT
.
CURSOR_ARROW
));
getShell
().
setCursor
(
new
Cursor
(
PlatformUI
.
getWorkbench
().
getActiveWorkbenchWindow
().
getShell
().
getDisplay
(),
SWT
.
CURSOR_ARROW
));
return
true
;
}
...
...
@@ -671,9 +672,10 @@ public class GUI extends WizardMod {
IProject
part
=
parts
.
get
(
i
);
String
partName
=
part
.
getName
();
mpa
.
getAAL_UAPP
().
getAppParts
().
add
(
new
Part
(
"part"
+(
i
+
1
),
partName
));
if
(!
recovered
)
mpa
.
getAAL_UAPP
().
getAppParts
().
add
(
new
Part
(
"part"
+(
i
+
1
),
partName
));
//
System.out.println("Part
nam
e:"+pa
rtName
);
System
.
out
.
println
(
"Part
s siz
e:"
+
m
pa
.
getAAL_UAPP
().
getAppParts
().
size
()
);
IMavenProjectRegistry
projectManager
=
MavenPlugin
.
getMavenProjectRegistry
();
IFile
pomResource
=
part
.
getFile
(
IMavenConstants
.
POM_FILE_NAME
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment