How to build documents for java from source code

Posted by: anthony.adewumi on 4 April 2020, 6:55 am EST

    • Post Options:
    • Link

    Posted 4 April 2020, 6:55 am EST

    Hi,

    I’m looking for information on how to build documents for java from source code which I purchased. There is only bunch of directories modules and no standarized maven configuration to run in order to build a jar, Javadoc jar nor source code jar for debug purposes.

    Please advice what is your way of building this project or share maven configuration for the source code.

  • Posted 4 April 2020, 10:34 am EST

    I found a readme.txt file saying:

    1.To build gcexcel.jar
        Ensure JAVA_HOME is set in your system
        Switch to Source\SpreadServices4J folder
        Execute 'ant build' command, and gcexcel.jar will be output to Source\SpreadServices4J\build folder
    
    This is my environment configuration:
    java version "1.6.0_65"
    Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468)
    Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)
    
    Apache Ant(TM) version 1.9.14 compiled on March 12 2019
    Ant opts: -Xmx4096m -XX:MaxPermSize=2048m
    

    When I run the build command ```

    ant build

    
    Here are some of them:
    
    
    [javac] /Users/softpro/devel/workspaces/gcexcel-3.1.0-source-java/Model.Style/src/com/grapecity/documents/excel/style/NumberFormatData.java:31: cannot find symbol
    [javac] symbol  : class INumberFormatManager
    [javac] location: class com.grapecity.documents.excel.style.NumberFormatData
    [javac] 	public DoubleTypeCode GetDoubleTypeCode(INumberFormatManager numberFormatManager,
    [javac] 	                                        ^
    [javac] /Users/softpro/devel/workspaces/gcexcel-3.1.0-source-java/Model.Style/src/com/grapecity/documents/excel/style/NumberFormatData.java:31: cannot find symbol
    [javac] symbol  : class DoubleTypeCode
    [javac] location: class com.grapecity.documents.excel.style.NumberFormatData
    [javac] 	public DoubleTypeCode GetDoubleTypeCode(INumberFormatManager numberFormatManager,
    [javac] 	       ^
    [javac] /Users/softpro/devel/workspaces/gcexcel-3.1.0-source-java/Model.Style/src/com/grapecity/documents/excel/style/StyleStorage.java:31: cannot find symbol
    [javac] symbol  : class IFormatter
    [javac] location: package com.grapecity.documents.excel.style.format
    [javac] import com.grapecity.documents.excel.style.format.IFormatter;
    [javac]                                                  ^
    [javac] /Users/softpro/devel/workspaces/gcexcel-3.1.0-source-java/Model.Style/src/com/grapecity/documents/excel/style/StyleStorage.java:32: cannot find symbol
    [javac] symbol  : class INumberFormatManager
    [javac] location: package com.grapecity.documents.excel.style.format
    [javac] import com.grapecity.documents.excel.style.format.INumberFormatManager;
    [javac]                                                  ^
    [javac] /Users/softpro/devel/workspaces/gcexcel-3.1.0-source-java/Model.Style/src/com/grapecity/documents/excel/style/StyleStorage.java:33: cannot find symbol
    [javac] symbol  : class NumberFormatManager
    [javac] location: package com.grapecity.documents.excel.style.format
    [javac] import com.grapecity.documents.excel.style.format.NumberFormatManager;
    [javac]                                                  ^
    [javac] /Users/softpro/devel/workspaces/gcexcel-3.1.0-source-java/Model.Style/src/com/grapecity/documents/excel/style/StyleManagerForWorkbook.java:22: cannot find symbol
    [javac] symbol  : class NumberFormatManager
    [javac] location: package com.grapecity.documents.excel.style.format
    [javac] import com.grapecity.documents.excel.style.format.NumberFormatManager;
    [javac]                                                  ^
    [javac] /Users/softpro/devel/workspaces/gcexcel-3.1.0-source-java/Model.Style/src/com/grapecity/documents/excel/style/StyleManagerForWorksheet.java:70: cannot find symbol
    [javac] symbol  : class NumberFormatManager
    [javac] location: class com.grapecity.documents.excel.style.StyleManagerForWorksheet
    [javac] 	public NumberFormatManager getNumberFormatManager() {
    [javac] 	       ^
    [javac] /Users/softpro/devel/workspaces/gcexcel-3.1.0-source-java/Model.Style/src/com/grapecity/documents/excel/style/StyleStorage.java:252: cannot find symbol
    [javac] symbol  : class INumberFormatManager
    [javac] location: class com.grapecity.documents.excel.style.StyleStorage
    [javac] 	private INumberFormatManager _numberFormatManager = new NumberFormatManager();
    
    
    Please help to resolve this issue.
  • Posted 4 April 2020, 11:43 am EST

  • Posted 6 April 2020, 6:14 am EST

    Hello,

    We have escalated your issue to the concerned team for further investigation.

    Tracking id for your issue is #DOCXLS-2336

    We will update you as soon as we hear anything from our concerned team.

    Thanks,

    Reeva

  • Posted 7 January 2021, 5:45 am EST

    Hello,

    Our developers looked into your issue and they have asked to replace and use the updated build file instead: build.xml [ please see attachment]

    1. What is required memory configuration for Java and Ant in order to build gcexcel successfully?

    We recommend the configuration "memoryinitialsize=“512m” memorymaximumsize=“1024m” " for both java and ant.

    1. What are the recommended versions of JDK and Ant to build gcexcel?

    We recommend configuration: JDK >= 1.6, Ant >=1.8 .

    Hope it helps.

    Thanks,

    Reeva

    build (1).zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels