--- Rakesh Patel <[EMAIL PROTECTED]> wrote: > Hi, > > almost there with the concat task but am having > problems with keeping my > build.xml file formatted correctly and giving the > text to pass in ie if > each line is indented, the indents go into the file. > > I tried individual staements but i can't seem to > generate a new line. > Here's what i have so far: > > <concat destfile="README" > append="true">user</concat> > <concat destfile="README" append="true" > fixlastline="true" > eol="crlf">${remote.server.username}</concat> > <concat destfile="README" append="true" > fixlastline="true" > eol="crlf">${remote.server.password}</concat> > <concat destfile="README" append="true" > fixlastline="true" > eol="crlf">put *.war</concat> > <concat destfile="README" append="true" > fixlastline="true" > eol="crlf">quit</concat> > > The output just comes out on one line.
fixlastline="true" or, use <echo> instead of <concat>, and probably include ${line.separator} manually... -Matt > > Rakesh > > [EMAIL PROTECTED] wrote: > > ><concat destfile="myfile.txt"> > >user > >scott > >tiger > >put *.war > >quit > ></concat> > > > > > >or with use of properties > > > > > ><concat destfile="${file}"> > >user > >${db.user} > >${db.pwd} > >put *.war > >quit > ></concat> > > > > > >Jan > > > > > > > > > >>that seems to only produce name value pairs. > Unfortunately, > >>the file i want to create looks more like this: > >> > >>user > >>scott > >>tiger > >>put *.war > >>quit > >> > >> > > > >--------------------------------------------------------------------- > >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] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]