Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Modifying and rebuilding a part/package  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am working with the software Openfire which is written in java. What I am trying to do is to change some code in a plugin called "message monitoring" and rebuild just the plugin.

I checked-out the code using svn. And i could also figure out what and where i will need to change the code. But I am not clear about how to rebuild the plugin and test my changes.

In Eclipse, I can export the "plugins.monitoring" package as a .jar, but it does not export all the classes. For example, it exports plugins.monitoring.src.web but ignores classes in sub-packages (if i am not wrong with the term) such as plugins.monitoring.src.java.org.jivesoftware.openfire.reporting.util.

How do I compile only one package and export it to .jar file?

Thanks
 
Bartender
Posts: 4042
47
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Vineet Naik wrote:...How do I compile only one package and export it to .jar file?


You might want to work with some kind of build tool (if it's possible to integrate in to your current source packages) like Ant, Maven etc...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!