14Dec/101
Running P2 Ant Tasks in Eclipse
If you have the following when executing p2 ant tasks in Eclipse:
Buildfile: C:\projects\p2\build.xml run: BUILD FAILED C:\projects\p2\build.xml:6: Problem: failed to create task or type p2.mirror Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Make sure that you run this task in the same JRE as workspace.
How to do that? Go to "Externals Tools Configuration". Choose your ant script. Go to "JRE" tab and select "Run in the same JRE as the workspace".
26Aug/102
Copy Files with SCP Using Maven
You can use Maven AntRun Plugin and Ant SCP task in order to transfer files with SCP: