| Summary: | Additional tasks to AntRunner | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Suganya Devi <suganyadevi.selvaraj> |
| Component: | Ant | Assignee: | Platform-Ant-Inbox <platform-ant-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | aniefer, Michael_Rennie |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Suganya Devi
This would be the org.eclipse.ant.core.antRunner application. (In reply to comment #0) > Please let me know how to pass additional tasks to AntRunner? Have you tried using the org.eclipse.ant.core.extraClasspathEntries extension point to add your jar to the classpath? See the help doc entry about it: http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ant_core_extraClasspathEntries.html (In reply to comment #2) > (In reply to comment #0) > > Please let me know how to pass additional tasks to AntRunner? > > Have you tried using the org.eclipse.ant.core.extraClasspathEntries extension > point to add your jar to the classpath? > > See the help doc entry about it: > http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ant_core_extraClasspathEntries.html In my case, I have a releng build project which is a regular java project. The build script is inside the releng project. Can you please explain me how this extension can be contributed to my build project (which is not a plug-in)? (In reply to comment #3) > In my case, I have a releng build project which is a regular java project. The > build script is inside the releng project. Can you please explain me how this > extension can be contributed to my build project (which is not a plug-in)? If it is not a plug-in I do not know how you would contribute to the extension. Have you tried using the classpath element in your buildfile? Something like: <classpath> <pathelement location="C:\Program Files\Borland\StarTeam SDK 11.0\Lib\starteam110.jar"> </classpath> more info on the classpath element can be found: http://ant.apache.org/manual/using.html in the 'Path-like Structures' section. (In reply to comment #4) > (In reply to comment #3) > > In my case, I have a releng build project which is a regular java project. The > > build script is inside the releng project. Can you please explain me how this > > extension can be contributed to my build project (which is not a plug-in)? > > If it is not a plug-in I do not know how you would contribute to the extension. > > Have you tried using the classpath element in your buildfile? > > Something like: > > <classpath> > <pathelement location="C:\Program Files\Borland\StarTeam SDK > 11.0\Lib\starteam110.jar"> > </classpath> > > more info on the classpath element can be found: > http://ant.apache.org/manual/using.html in the 'Path-like Structures' section. Thanks, but classpath did not work for me (its not identifying the task). But extraClasspathEntries works for me. This is what I did, - created a plugin org.eclipse.starteam.ant - created a lib folder and placed starteam110.jar - contributed org.eclipse.ant.core.extraClasspathEntries - created plugin jar and placed it in eclipse dropins Now the required classes are loaded perfectly and the build works fine. Thank you once again for suggesting 'extraClasspathEntries' (In reply to comment #5) > Now the required classes are loaded perfectly and the build works fine. > > Thank you once again for suggesting 'extraClasspathEntries' Glad you got it working, I am marking the bug as worksforme. |