Hi, I have ant 1.7.1 and bsf, its just the "setbeans" attribute.
Thanks > -----Original Message----- > From: ext Martin Gainty [mailto:mgai...@hotmail.com] > Sent: 09 June 2009 15:22 > To: Ant Users List > Subject: RE: scriptmapper doesn't support the "setbeans" attribute > > > Toivottavasti! > > http://ant.apache.org/manual/CoreTypes/mapper.html > scriptmapper is supported in 1.7.x > > which would enable you to either UpperCase or LowerCase the source as > in this example > <scriptmapper language="javascript"> > self.addMappedName(source.toUpperCase()); > self.addMappedName(source.toLowerCase()); > </scriptmapper> > BTW: you'll need bsf.jar located on classpath from > http://jakarta.apache.org/bsf for the reg expression parser to work > > kiittää, > Martin Gainty > ______________________________________________ > Jogi és Bizalmassági kinyilatkoztatás/Note de déni et de > confidentialité > Ez az > üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy > jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának > készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és > semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek > könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet > ezen üzenet tartalma miatt. > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas > le destinataire prévu, nous te demandons avec bonté que pour satisfaire > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la > copie de ceci est interdite. Ce message sert à l'information seulement > et n'aura pas n'importe quel effet légalement obligatoire. Étant donné > que les email peuvent facilement être sujets à la manipulation, nous ne > pouvons accepter aucune responsabilité pour le contenu fourni. > > > > > > From: ext-simon.stei...@nokia.com > > To: user@ant.apache.org > > Date: Tue, 9 Jun 2009 15:48:01 +0200 > > Subject: scriptmapper doesn't support the "setbeans" attribute > > > > Hi, > > > > I get 'scriptmapper doesn't support the "setbeans" attribute' > > > > It says it does here: > > http://ant.apache.org/manual/CoreTypes/mapper.html > > > > <target name="pylinttest"> > > <pathconvert pathsep=" " property="python.modules"> > > <fileset refid="python.files"/> > > <mapper> > > <chainedmapper> > > <scriptmapper language="jep" setbeans="false"> > > print 'hi' > > </scriptmapper> > > </chainedmapper> > > </mapper> > > </pathconvert> > > </target> > > > > Thanks > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > > For additional commands, e-mail: user-h...@ant.apache.org > > > > _________________________________________________________________ > Insert movie times and more without leaving Hotmail®. > http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_T > utorial_QuickAdd_062009 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org