• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 848
  • Last Modified:

Need help applying patch to an existing project in eclipse

Hello all,

I'm trying to apply a patch to Spark by using Eclipse. i follow the instructions here http://community.igniterealtime.org/docs/DOC-1040
and i think everything went well. I then follow the instructions here
http://community.igniterealtime.org/message/187391#187391
However, when i tried to apply the patch i get a bunch of errors.
Errors while patching
What I'm trying to accomplish here is to disable the Add Contacts option in Spark. This is my first time using Eclipse so please talk to me in baby language. Let me know if you need more info. Thanks!
0
schang626
Asked:
schang626
  • 4
  • 2
1 Solution
 
aciuicaCommented:
It seems that the patch expected that you have a Spark project and probably your project name is park.
But anyway it seems that the latest sources contains already the changes from this patch.
So I think that you need only to change in the default.properties file the line:
ADD_CONTACT_DISABLED =
with:
ADD_CONTACT_DISABLED = true
0
 
aciuicaCommented:
In first sentence i meen "... your project name is spark" not "park" :)
0
 
Sathish David Kumar NCommented:
check whether its spark or Spark bcz it case sentive
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
schang626Author Commented:
Thanks for the replies.
how to change the default.properties file?

when i create the project, it only takes spark. It doesn't let me enter Spark
0
 
aciuicaCommented:
In spark project should be a file default.properties. You can open it and change the line ADD_CONTACT_DISABLED =
with:
ADD_CONTACT_DISABLED = true
I meen that the code contained in the patch is already implemented in last version.
So you don't need to apply the pacth. Is enough to configure this ADD_CONTACT_DISABLED variable.
0
 
schang626Author Commented:
ok i found the file default.properties here: C:\Users\xxx\workspace\spark\bin\org\jivesoftware\resource
and i've change the statues to true. how do i run the program now? Thanks.
0
 
aciuicaCommented:
I think that you should change the file (you can do it in eclipse) from location .../spark/src/java/org/jivesoftware/resource/default.properties and then you can run the program from eclipse like before using main class org.jivesoftware.launcher.Startup
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now