No, you can't. Not after the re-design of our TrAX support.
But, the org.apache.xalan.xsltc.compiler.XSLTC class has a
set of public methods that can be used to set the package
name, translet class name, output directory and such:
setClassName(String className);
setDestDirectory(String absolutePathName);
setPackageName(String packageName);
setJarFileName(String archiveName);
Morten
Padraig O'hIceadha wrote:
>
> Hi,
>
> Additionally if you are using XSLTC via the Trax API you can set the
> destination directory via the System property "transletPool".
>
> Regards,
>
> Padraig
>
> G. Todd Miller - XML Tech Ctr - Development wrote:
>
> >Sorry, that was 'public boolean setDestDirectory(String dstDirName)',
> >not 'setDestination'
> >
> >-Todd
> >
> > >>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> > >>list-help: <mailto:[EMAIL PROTECTED]>
> > >>list-unsubscribe: <mailto:[EMAIL PROTECTED]>
> > >>list-post: <mailto:[EMAIL PROTECTED]>
> > >>Delivered-To: mailing list [EMAIL PROTECTED]
> > >>From: "G. Todd Miller - XML Tech Ctr - Development"
> ><[EMAIL PROTECTED]>
> > >>Subject: Re: Setting Package and directory properties in XSLTC
> > >>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> > >>MIME-Version: 1.0
> > >>Content-MD5: TyPdD8cq/G1IP30/hu2OKQ==
> > >>X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N
> > >>
> > >>
> > >>John,
> > >>
> > >>The compiler class XSLTC.java has a public method 'setDestination()'
> > >>to set the destination directory for the compiled translet.
> > >>
> > >>-Todd
> > >>
> > >> >>Mailing-List: contact [EMAIL PROTECTED]; run by
> >ezmlm
> > >> >>list-help: <mailto:[EMAIL PROTECTED]>
> > >> >>list-unsubscribe:
> ><mailto:[EMAIL PROTECTED]>
> > >> >>list-post: <mailto:[EMAIL PROTECTED]>
> > >> >>Delivered-To: mailing list [EMAIL PROTECTED]
> > >> >>From: "Gordon Cooke" <[EMAIL PROTECTED]>
> > >> >>To: "xalan-dev" <[EMAIL PROTECTED]>
> > >> >>Subject: Setting Package and directory properties in XSLTC
> > >> >>MIME-Version: 1.0
> > >> >>Content-Transfer-Encoding: 7bit
> > >> >>X-Priority: 3 (Normal)
> > >> >>X-MSMail-Priority: Normal
> > >> >>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
> > >> >>Importance: Normal
> > >> >>X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N
> > >> >>
> > >> >>I need to be able to set the packagename and destination
> >directories,
> > >>at
> > >> >>runtime, for all of the xsl documents that we compile. THe
> >accessor
> > >>methods
> > >> >>for the properties are defined as private. I am wondering if
> >there is
> > >>a
> > >> >>reason for this and what impact making them public would have.
> >As it
> > >>stands
> > >> >>now, the XSLTC is limited in that from any external class, you
> >cannot
> > >> >>explicitly set where you want to write the class files
> >(defaults to
> > >>current
> > >> >>working dir.) or what package they should be a part of.
> > >> >>
> > >> >>any help would be appreciated. If there is a better/different
> >way of
> > >>going
> > >> >>about this please let me know.
> > >> >>
> > >> >>John Cooke
> > >>
> >