Hi Christian,

Thanks for your reply.
What I want to do is adding a folder to the class path when my flex 
code is compiled with maven using israfil plugin.

I can specify one folder in the class path using the following in 
the pom file (for maven):

 <properties>
                <flex.compiler.source>src</flex.compiler.source>
 <properties>

What I want to do is I want to add more than one folder in the class 
path, i.e. "src/main/flex" and "src/main/flex/locale" folder.

I tried to add two tags:
                
<flex.compiler.source>src/main/flex</flex.compiler.source>
<flex.compiler.source>src/main/flex/locale</flex.compiler.source>

It doesn't work.  I also tried separating the two paths using ";" 
and ":" but it doesn't work.

If anyone can help me that would be greatly appreciated.

Thanks in advance.

Ivan.


--- In [email protected], Christian Gruber <[EMAIL PROTECTED]> 
wrote:
>
> Are you talking about altering the classpath that the plugin 
creates  
> for invoking the compiler?  If so, there is no such capability.  
You  
> might be able to hack it up locally, but I'm only partially clear 
on  
> what you're trying to accomplish.  The key question is:
> 
> Is this something you want to include into .swc/.swfs? or is it  
> something you want to configure the compiler itself with.
> 
> Christian.
> 
> On May 24, 2007, at 7:42 PM, ivansebastiansurya wrote:
> 
> > Hi again,
> >
> > Thanks for your reply.  But what I was looking for when I want to
> > include properties file for internationalisation.
> > I will have my *.properties language in a folder called "locale" 
and
> > I want to add that "locale" folder in my class path.
> >
> > Does anyone know how to alter the pom file to make that happen?  
At
> > the moment I have to copy all of the properties files to the top
> > level folder to be recognized, which is not really neat.
> >
> > Thanks.
> >
> > Ivan.
> >
> > --- In [email protected], "Sterling, Brian"
> > <brian_sterling@> wrote:
> >>
> >> Here is my understanding:
> >>
> >> Each library you depend on should be in your Maven repository.
> > Then you just add a dependency section to your pom.xml as 
specified
> > in the
> >>
> >>   "Setting up SWC dependencies in a SWC or SWF project"
> >>
> >> section of the usage guide at
> >>
> >>   http://www.israfil.net/projects/mojo/maven-flex2-
plugin/usage.html
> >>
> >> -Brian
> >> ________________________________________
> >> From: [email protected]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
ivansebastiansurya
> >> Sent: Wednesday, May 23, 2007 4:06 PM
> >> To: [email protected]
> >> Subject: [flexcoders] Adding a class path to israfil maven 
plugin
> >>
> >> Hi everyone,
> >>
> >> Does anyone know how to add a classpath in the pom file for 
maven 2
> >> israfil plugin?
> >>
> >> In Flex builder, this is equivalent to right clicking the 
object,
> > then
> >> select "Properties" and "Flex Build Path".
> >>
> >> Thanks,
> >>
> >> Ivan.
> >>
> >
> >
> 
> christian gruber + [EMAIL PROTECTED] + mob 410.900.0796 + mob2  
> 416.998.6023
> process coach and architect + ISRÁFÍL CONSULTING SERVICES
>


Reply via email to