I need to modify a portlet/war file. I have the source code. In Eclipse I opened the appropriate .java file and made a change to one parameter (I need to change a default URL hard-coded into the portlet). I'd like to now somehow repackage the code into a new war file with my changes but can't quite figure out how.
Should I import the code (with the edited .java file) into Eclipse, then export it as a war? I tried that, but when I try to deploy it in JBoss it doesn't show in the list of available portlets like it did before I messed with it. I have restarted JBoss. I may not have imported all the right stuff, or maybe not into the right place. I'm not even sure that's what I should do.