LabKey version 16.x build error in IntellyJ

LabKey Support Forum (Inactive)
LabKey version 16.x build error in IntellyJ Rolf Steiner  2016-04-28 01:55
Status: Closed
 
Dear team

I^m trying to build the LanKey source in IJ and get th following error:

Information:Using javac 1.8.0_91 to compile java sources
Information:java: Errors occurred while compiling module 'Dataintegration'
Information:28.04.2016 10:45 - Compilation completed with 6 errors and 0 warnings in 4s 977ms
D:\dev\LabKey\server\modules\dataintegration\src\org\labkey\di\filters\FilterStrategyFactoryImpl.java
Error:(26, 74) java: package FilterStrategy does not exist
Error:(28, 21) java: cannot find symbol
  symbol: class DeletedRowsSource
  location: class org.labkey.di.filters.FilterStrategyFactoryImpl
Error:(30, 48) java: cannot find symbol
  symbol: class FilterType
  location: class org.labkey.di.filters.FilterStrategyFactoryImpl
Error:(37, 53) java: cannot find symbol
  symbol: class DeletedRowsSourceObjectType
  location: class org.labkey.di.filters.FilterStrategyFactoryImpl
Error:(37, 13) java: cannot find symbol
  symbol: class DeletedRowsSource
  location: class org.labkey.di.filters.FilterStrategyFactoryImpl
Error:(39, 20) java: cannot find symbol
  symbol: class DeletedRowsSource
  location: class org.labkey.di.filters.FilterStrategyFactoryImpl

This two import statements are undefined:
import org.labkey.etl.xml.DeletedRowsSourceObjectType;
import org.labkey.etl.xml.FilterType;

Can you tell me where the org.labkey.etl package can be found?

Thanks for your support.

regardas, Rolf
 
 
adam responded:  2016-04-28 05:11
These, and many other classes used by LabKey, are generated by XMLBeans. You need to invoke "ant build" before you can perform incremental builds via IntelliJ. More details on the steps and restrictions are here: https://www.labkey.org/wiki/home/Documentation/page.view?name=hotSwapping

Adam