Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Code change to my custom precondition for Save Work Item (Server) didn't take effect.

 I created a custom precondition last month, and it worked well after I deployed to the server.

Now, I made a code change to the precondition, and changed the trace in the activator of the precondition. And then I deployed it to the server and restarted the server. However, I only saw the old trace but not the changed trace. And then I open the client and tried the precondition, finding that my code change didn't take effect.

Later, I removed the precondition folder from the "server\conf\jazz\sites", also the profile in the "provision_profiles" folder. Then I restarted the server, and I saw the old trace again, I think it shouldn't appear here.

Is there anyone who knows what happened? Thanks a lot!

0 votes


Accepted answer

Permanent link
Feng,

not sure what you mean if you say "Trace". Please see https://rsjazz.wordpress.com/2014/06/12/is-the-extension-deployed-how-can-i-redeploy/
feng chen selected this answer as the correct answer

1 vote

Comments

 I added a System.out.println() in the Activator of the precondition so that some message will be printed during the start of the server

I had a conversation with a colleague recently, who did the same but couldn't find all the outputs. We are not sure why.


One other answer

Permanent link
 Hi Ralph, the link helped me out, the server just need to restart to redeploy the precondition. Thanks!

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,943

Question asked: Aug 01 '14, 3:30 a.m.

Question was seen: 3,197 times

Last updated: Aug 01 '14, 4:32 a.m.

Confirmation Cancel Confirm