Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Building master

On 12/19/19 9:23 PM, William Dazey wrote:
Thanks so much for the information. I think I'm going to try playing around with creating a new "generic" profile that uses build.properties connection information. I can see how it's useful for you guys cause all the default DB connections are checked in, but I'm finding it a bit tedious to managed all these different property files. Also, to test a database, a new profile needs to be created and checked in...

it has its pros and cons but there's definitely room for improvements.


Another question I have concerns how to import these projects into Eclipse. I can't import as "existing projects" because then there's no source. I tried importing as maven projects, but that generates a bunch of .project, .settings, .classpath files that show up as changes in git.

huh, I'd expect these to be "hidden" by .gitignore now, so the repo does not contain any IDE-specific configuration files (feel free to file a bug to fix/clean the ignore list up)

Is there a recommended way to manage everything in Eclipse?

one of our goals was to decouple the project from one specific IDE. Maven should be understood by all major ones. As for Eclipse specific - do you have M2Eclipse (https://www.eclipse.org/m2e) installed?

thanks,
--lukas


Thanks,
Will Dazey

On Wed, Dec 18, 2019 at 5:55 AM Lukas Jungmann <lukas.jungmann@xxxxxxxxxx <mailto:lukas.jungmann@xxxxxxxxxx>> wrote:

    Hi,

    On 12/18/19 6:58 AM, William Dazey wrote:
     > Hello!
     > Granted, I don't have much experience with maven, but I just want
    to run
     > the jpa-jse bucket locally. `

    I believe most questions were answered by Radek already, just few
    good-to-know maven tips:

    Once you're at project root:

    mvn -pl :<artifactId> <goals|phases> - run given goals/phases (ie
    dependency:tree, clean, install, etc) for a project identified by
    <artifactId> and nothing else

    mvn -am -pl :<artifactId> <goals|phases> - run given goals/phases (ie
    dependency:tree, clean, install, etc) for a project identified by
    <artifactId> and for all projects given one depends on

    mvn -amd -pl :<artifactId> <goals|phases> - run given goals/phases (ie
    dependency:tree, clean, install, etc) for a project identified by
    <artifactId> and for all projects depending on it

    -am (--also-make) and -amd (--also-make-dependents) options are well
    described at
    https://stackoverflow.com/questions/40206376/difference-between-also-make-and-also-make-dependents

    thanks,
    --lukas

       |mvn verify -Pmysql,test-jpa-jse|` seems
     > to build everything and runs every single testbucket. I can see the
     > console running core tests and jpql test... Also, I didn't specify
     > connection information for mysql. What connection information is
    it using?
     >
     > Also, is it just me or does the build take like 20 minutes to run
    now
     > with maven. Ive run it several times and it seems like everything is
     > downloaded, but it still takes forever to build.
     >
     > Also also, my HOME/build.properties aren't being used anymore,
    right?
     > How do I run tests against other databases? DB2? SQLServer? In
    the past,
     > I just set the `db.user, db.pwd, db.url, ect` properties in my
     > build.properties file, but that doesnt seem to be looked at anymore.
     >
     > Thanks,
     > Will Dazey
     >
     > _______________________________________________
     > eclipselink-dev mailing list
     > eclipselink-dev@xxxxxxxxxxx <mailto:eclipselink-dev@xxxxxxxxxxx>
     > To change your delivery options, retrieve your password, or
    unsubscribe from this list, visit
     > https://www.eclipse.org/mailman/listinfo/eclipselink-dev
     >
    _______________________________________________
    eclipselink-dev mailing list
    eclipselink-dev@xxxxxxxxxxx <mailto:eclipselink-dev@xxxxxxxxxxx>
    To change your delivery options, retrieve your password, or
    unsubscribe from this list, visit
    https://www.eclipse.org/mailman/listinfo/eclipselink-dev


_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/eclipselink-dev



Back to the top