Hi Robert,

happy to help you with that.

In general, I’ll be working on updating the documentation after the next 
release (which I’ll start after finishing this mail)
But for now: We’ve introduced some minor changes to the build, so you’ll need 
to make sure the following maven profiles are enabled:


  *   with-java (Without it, generally nothing java-related will be built at 
all)
  *   update-generated-code (Without it, the code generation will not be 
performed at all)


So, if you run the following command:


./mvnw -Pwith-java,update-generated-code -pl :plc4j-driver-eip -am clean package

It will generally build the java eip driver and all modules it depends on.

Hope that helps and looking forward to some pull-requests ;-)


Chris



Von: R Thayer <thayer...@cox.net>
Datum: Freitag, 16. Februar 2024 um 02:25
An: dev@plc4x.apache.org <dev@plc4x.apache.org>
Betreff: Re: Re-generated Generated Sources
All,
What is the process to regenerate generated sources?

New to plc4x but have live EIP/CIP traffic that i'm trying to model with the 
eip.mspec and need to close the circle of eip.mspec==>generated-code in the 
plc4j/drivers/eip/src/main/generated to verify correct mspec.  Working through 
ParserSerializerTestsuiteLittleEndian.xml to model MultipleServiceR/R

The website discusses it and suggests "mvn compile".
This thinks it works but does not regenerate nor replace the files.

Thanks,

Robert Thayer
CC Software, Inc.
702-726-1034

Reply via email to