Re: setting project classpath from a task

2005-03-29 Thread Edward Q. Bridges
bingo!! worked like a charm. thanks much! --e-- Doklovic, Jonathan wrote: I had a similar issue. Here's what works for me: In your Task, set the path like this: Path myPath = new Path(getProject(), somePathString); myPath.setProject(getProject()); // you MUST do this or it doesn't seem to set the

RE: setting project classpath from a task

2005-03-29 Thread Doklovic, Jonathan
I had a similar issue. Here's what works for me: In your Task, set the path like this: Path myPath = new Path(getProject(), somePathString); myPath.setProject(getProject()); // you MUST do this or it doesn't seem to set the ref properly getProject().addReference("my.pathRef", myPath); Then in yo