Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
assets manangement processes ui improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
wmedvede committed Oct 13, 2014
1 parent 3cbbea8 commit 1c02db0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ public void buildProject( String repository,
String password,
String serverURL,
Boolean deployToMaven ) {

if ( serverURL != null && !serverURL.isEmpty() && serverURL.endsWith( "/" ) ) {
serverURL = serverURL.substring( 0, serverURL.length()-1 );
}

assetManagementServices.call( new RemoteCallback<Long>() {
@Override
public void callback( Long taskId ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ public void init() {

public void releaseProject(String repository, String branch,
String userName, String password, String serverURL, Boolean deployToRuntime, String version) {

if ( serverURL != null && !serverURL.isEmpty() && serverURL.endsWith( "/" ) ) {
serverURL = serverURL.substring( 0, serverURL.length()-1 );
}

assetManagementServices.call(new RemoteCallback<Long>() {
@Override
public void callback(Long taskId) {
Expand Down

0 comments on commit 1c02db0

Please sign in to comment.