tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50001] Eclipse source files don't belong in project root.
Date Tue, 28 Sep 2010 12:27:22 GMT

--- Comment #4 from Wesley <> 2010-09-28 08:27:17 EDT ---
(In reply to comment #2)
> Your patch seems to be broken (it seems to be missing files from your
> description, and instead of deleting files it's just emptying them).

I've checked the patch file and those files contents are in there but for some
reason eclipse doesn't want to apply the files. Which I find odd.

It appears the reason it didn't work is I first moved the launch templates you
had and then modified them. Its trying to apply the modification to the moved
files rather than moving then applying the modification.  Forgive as I'm not
that used to creating patch files.

The basic changes to the launch files where.

Move to the res/ide-support/eclipse folder. rename to start-tomcat.launch.tpl

Add in the apache licence and change the following lines. (both launch
templates)  This allows for the project name to be used rather than a
predefined one.

-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR"
-<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS"
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR"
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS"

> I've moved all the files into res/ide-support/eclipse as suggested, but I
> haven't templated the launch targets - they work fine from the
> ide-support/eclipse dir, and I'm still not sure they're a good idea.

Does anyone know how to fix a patch file like this? The info is all there but
it appears to try to apply the wrong changes.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message