> From: Maurice Feskanich [mailto:[EMAIL PROTECTED] > > I'm guessing the user is exec'ing the linker directly. Remember, the > exec task has no understanding of wildcards, so the asterisk needs to be > interpreted by a shell. Try this: > > <exec executable="/bin/sh" dir=...> > <arg value="-c" /> > <arg value="<complete linker command and args>" /> > </exec> > > Erskine, Chris wrote: > > I have a user who is trying to use the exec task to link a program. As > part > > of the command line, he is trying to add the argument *.o to link in all > of > > the objects. Using <arg value="*.o" /> does not seem to work. What is > the > > right way to pass in a wildcard option? This is running on a Sun box > using > > Ant 1.6.2
You probably want to use <apply>. It's like <exec> + fileset handling merged into one. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
