flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject AW: To start the weekend: issue with additional source directories:
Date Fri, 22 May 2015 17:42:07 GMT
In order to use multiple source directories, have a look at the build-helper-plugin:

It was really bad style to do this by some additional config options therefore it was removed
in order for people using the default maven mechanisms.


Von: L'Hommelet Filip <Filip.L'Hommelet@ilias-solutions.com>
Gesendet: Freitag, 22. Mai 2015 15:14
An: users@flex.apache.org
Betreff: To start the weekend: issue with additional source directories:

Hi all,

I have a simple flex-project which I like to build with maven/flexmojos7.1.0/SDK4.14.1

This is the pom:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

                                               <!-- *******************************************************
                                               <!-- Add extra source directory        
                                               <!-- *******************************************************


In the parent-pom, we have the source directory defined as:

However, for some of our projects, we have base_classes (automatically generated via Visual
Paradigm) and classes (in which we put specific code) who extend those base_classes...
The path of those base_classes is src/main/flex_base...

When using the older flexmojos (3.8), there used to be the following (working) settings:


I figured out already that <sourcePaths> tag was replaced with <compileSourceRoots>
but keeping <param> tag
doesn't seem to work.  Did that one change as well?  In Flexmojos6 it is <path> but
there it was also still <sourcePaths>?

Really hard to find info on this, been looking in the flexmojos source code (that's how I
found <compileSourceRoots>)
but it still doesn't work.
Error is something like this:

col: 47 Error: Interface IOrganisation4JC
Base was not found.

    public interface IOrganisation4JC extends IOrganisation4JCBase

(so Base is under src/main/flex_base)

Any help again would be greatly appreciated. :)

View raw message