Permalink
Browse files

ROOFLEX-37 - Use relative path for remote AMFChannel url

  • Loading branch information...
1 parent 7dea64f commit 415a669a258f55cf87086ddbe79b57f50ba60949 @mteodori committed Aug 9, 2011
@@ -144,7 +144,7 @@ public void createScaffoldApp() {
StringTemplate scaffoldTemplate = this.templateGroup.getInstanceOf(TEMPLATE_PATH + "/appname_scaffold");
scaffoldTemplate.setAttribute("presentationPackage", presentationPackage);
// TODO - Extract this value from services-config.xml?
- scaffoldTemplate.setAttribute("amfRemotingUrl", "http://localhost:8080/" + projectMetadata.getProjectName() + "/messagebroker/amf");
+ scaffoldTemplate.setAttribute("amfRemotingUrl", "messagebroker/amf");
this.fileManager.createOrUpdateTextFileIfRequired(scaffoldAppFileId, scaffoldTemplate.toString(), true);
// Create the HTML wrapper
@@ -497,4 +497,4 @@ private void copyDirectoryContents(String sourceAntPath, String targetDirectory)
}
}
}
-}
+}

0 comments on commit 415a669

Please sign in to comment.