Skip to content

Commit

Permalink
Setting version in descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Sep 20, 2013
1 parent 1be4113 commit aba783e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public WebAppDescriptor getConfig()
descriptor = Descriptors.create(WebAppDescriptor.class);
String projectName = getFaceted().getFacet(MetadataFacet.class).getProjectName();
WebAppDescriptor unit = descriptor
.version("2.5")
.displayName(projectName)
.createSessionConfig()
.sessionTimeout(30).up();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public WebAppDescriptor getConfig()
descriptor = Descriptors.create(WebAppDescriptor.class);
String projectName = getFaceted().getFacet(MetadataFacet.class).getProjectName();
WebAppDescriptor unit = descriptor
.version("3.0")
.displayName(projectName)
.createSessionConfig()
.sessionTimeout(30).up();
Expand Down

0 comments on commit aba783e

Please sign in to comment.