For testing javascipt changes everytime I need to restart the jazz server. Is there any other way?
4 answers
Hy Aastha,
Yes there is a possibility. But you have to setup a specific eclipse area.
1: Article
https://jazz.net/library/article/1000
2: Document with the how to
https://jazz.net/library/content/articles/rtc/4.0/extensions-workshop/downloads/RTC4xExtPoT.pdf
With this setup (You might change some steps, because it's very old though)
you won't need to restart everytime you make some changes.
Only if you make some major changes like, changing the plugin.xml or assign new modules to the loader.
Wish you luck!
Yes there is a possibility. But you have to setup a specific eclipse area.
1: Article
https://jazz.net/library/article/1000
2: Document with the how to
https://jazz.net/library/content/articles/rtc/4.0/extensions-workshop/downloads/RTC4xExtPoT.pdf
With this setup (You might change some steps, because it's very old though)
you won't need to restart everytime you make some changes.
Only if you make some major changes like, changing the plugin.xml or assign new modules to the loader.
Wish you luck!
Comments
showing 5 of 9
show 4 more comments
***** How to get PA's (with Deffered wrapped around it)*****
//Change serviceResponseHandler //This here is based in AMD
//Require //com.ibm.team.repository.web.transport.ServiceResponseHandler
//Require //com.ibm.team.process.web.client.internal.ProcessClient
getProjectDevelopmentLinesByUUID: function(uuid){
var deferred = new Deferred();
var deferredResponseObject = {
self: this,
success: function(response) {
deferred.resolve(response);
},
failure: function (error) {
deferred.reject(error);
}
};
//Change in non AMD
var srh = new this.ServiceResponseHandler(deferredResponseObject, "success", "failure");
var args = {
includeArchived: false,
processAreaContext: 1,
uuid: uuid
};
//Change in non AMD
this.ProcessClient.getProjectDevelopmentLines(args, srh);
return deferred;
},
//Call the function
this.class.getProcessAreaHierarchies().then(function(result){
//Do something with the result
});
//Change serviceResponseHandler //This here is based in AMD
//Require //com.ibm.team.repository.web.transport.ServiceResponseHandler
//Require //com.ibm.team.process.web.client.internal.ProcessClient
getProjectDevelopmentLinesByUUID: function(uuid){
var deferred = new Deferred();
var deferredResponseObject = {
self: this,
success: function(response) {
deferred.resolve(response);
},
failure: function (error) {
deferred.reject(error);
}
};
//Change in non AMD
var srh = new this.ServiceResponseHandler(deferredResponseObject, "success", "failure");
var args = {
includeArchived: false,
processAreaContext: 1,
uuid: uuid
};
//Change in non AMD
this.ProcessClient.getProjectDevelopmentLines(args, srh);
return deferred;
},
//Call the function
this.class.getProcessAreaHierarchies().then(function(result){
//Do something with the result
});
Hi Jonas,
Thanks for your help!! very much appreciated.
I have a query regarding the jetty server set up. I don't see the "OSGI2 Launch" or Junit2 launch configuration in my Eclipse Run configurations window.
How should I proceed ?
Thanks & Regards,
Aastha
Thanks for your help!! very much appreciated.
I have a query regarding the jetty server set up. I don't see the "OSGI2 Launch" or Junit2 launch configuration in my Eclipse Run configurations window.
How should I proceed ?
Thanks & Regards,
Aastha