OK, But how do I set an id which i could later use for referencing that Path ?
Thanks, Victor -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Monday, January 12, 2009 8:02 AM To: [email protected] Subject: AW: set Path element id > Path dynamicClassPath = new Path(getProject()); > //dynamicClassPath.setRefid(new Reference(getProject(),"dynamic.classpath")); > >The problem is that I cannot set an id ( same as <path >id="compile.classpath"/> ) , which i will later use to >reference that path ! Your (commented) code tries to set the REFID not the ID attribute. Every datatype can have an ID attribute. If you want to specify a REFID you cannot specify the 'content' because you want to refer another datatype. Jan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
