devexperts / egen

EGEN - Externalizable implementation generator
Mozilla Public License 2.0
14 stars 5 forks source link

The dependency provided does not contain the Autoserializable annotation #5

Open tbolis opened 7 years ago

tbolis commented 7 years ago

Hello,

It seems that your project is a perfect fit for quickly moving on from Serialization to Externalization. I'm following the documentation to add the repository and dependecy provided but I cannot import the corresponding annotation, should I add more dependencies

import com.devexperts.egen.processor.annotations.Autoserializable;

Thanks

tsitelov commented 7 years ago

There is a typo in the readme file. It should be

import com.devexperts.egen.processor.annotations.AutoSerializable;

tbolis commented 7 years ago

Hello and thank you for your reply, the problem is that there is no egen.annotations package at all. Can you specify the dependencies that I have to enter to my pom.xml in order to find the Annotation AutoSerializable and to perform the autogeneration during compile time?

thanks again

tsitelov commented 7 years ago

Annotations are included in the egen delivery package and it shall be added as a project dependency. If you use maven, then the most simple way to add egen is to use the bundled version (you'll also need to add the egen Maven repository - http://dl.bintray.com/devexperts/Maven ):

<dependency>
  <groupId>com.devexperts</groupId>
  <artifactId>egen</artifactId>
  <version>2.0.1</version>
  <classifier>bundled</classifier>
</dependency>
egorlitvinenko commented 7 years ago
<repositories>
        <repository>
            <id>maven-dxfeed-com</id>
            <url>https://dl.bintray.com/devexperts/Maven/release</url>
        </repository>
    </repositories>

helped me.