java source code optimization

  • 状态: Closed
  • 奖金: $63
  • 参赛作品已收到: 2
  • 获胜者: Norrey

竞赛简介

We are seeking a way to isolate only those source and jar files that are used by a given application. We supply a fully qualified class name that contains a main method. You supply a list of source and jar files that are used during the execution of the main method and its' associated classes. This is for a large project with over 200 jar files and 8200 source files. We suggest that a custom class loader be used for this application. The interface will look as follows:
interface DynamicDependencyAnalyzerInterface{
public File[] getSourceFilesUsed();
public File[] getJarFilesUsed();
}
The constructor will have the form:
class DDA extends ClassLoader implements DynamicDependencyAnalyzerInterface{
public DDA(File sourceRootDirectory, File jarRootDirectory){....
}

You may use public domain source code to solve this problem and the goal is to find new team members for our on-going projects.
You may use jdeps, but only if we can invoke it from within the JVM.

您还可能感兴趣的技能

雇主反馈

“Norrey is a great freelancer and his solution was creative and awesome!”

个人主页照片 douglaslyon, United States.

此竞赛的顶尖作品

查看更多参赛作品

公共说明面板

  • mananpatel11
    mananpatel11
    • 5 年 之前

    Hi, are this class files and jar files going to be in same Project folder?

    • 5 年 之前
  • rshalder90
    rshalder90
    • 5 年 之前

    #increaseprize

    • 5 年 之前
  • mananpatel11
    mananpatel11
    • 5 年 之前

    Have created code that can load another java file if found in specific folder provided.

    • 5 年 之前
  • douglaslyon
    竞赛主办者
    • 5 年 之前

    ....
    > input:/Users/lyon/current/java/j4pCode/src/utils/DateUtils.java
    > output:/Users/lyon/current/java/foo/src/utils/DateUtils.java
    > input:/Users/lyon/current/java/j4pCode/src/gui/run/RunDatePanel.java
    > output:/Users/lyon/current/java/foo/src/gui/run/RunDatePanel.java
    > input:/Users/lyon/current/java/j4pCode/src/futils/Futil.java
    > output:/Users/lyon/current/java/foo/src/futils/Futil.java
    > input:/Users/lyon/current/java/j4pCode/src/futils/FutilBean.java
    > output:/Users/lyon/current/java/foo/src/futils/FutilBean.java
    shows an example run....

    • 5 年 之前
  • douglaslyon
    竞赛主办者
    • 5 年 之前

    Here we see the src directory with many files...the output dir, foo, has just a few files (needed to compile).

    • 5 年 之前
  • douglaslyon
    竞赛主办者
    • 5 年 之前

    private File srcDir = new File(
    "/Users/lyon/current/java/j4pCode/src");
    private File outDir = new File
    ("/Users/lyon/current/java/foo/src");

    • 5 年 之前
  • douglaslyon
    竞赛主办者
    • 5 年 之前

    No, it need not be real time

    • 5 年 之前
  • KSCB
    KSCB
    • 5 年 之前

    Apparently it has not been completed.
    Well, then get a directory and isolate in source files and jar?
    A source file is generated by compilation or paging (created in a jar), should it be in real time?

    • 5 年 之前
  • AurelianR
    AurelianR
    • 5 年 之前

    could you give me more details about the class implementation? What the class must do ?

    • 5 年 之前

显示更多评论

如何以竞赛开始

  • 发布您的竞赛

    发起您的竞赛 快速简单

  • 获取众多参赛作品

    获取大量参赛作品 来自世界各地

  • 悬赏最佳参赛作品

    悬赏最佳参赛作品 下载文件-简单!

立即发布竞赛 或者立即加入我们!